-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use applicableSections and supportedAPIs to get consentState #1818
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: b92f509 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Tip Once this PR is ready to go, add the This saves us a lot of money by not running the tests before we need them. |
🐥 |
🐥 |
🐥 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just a couple of small suggestions
libs/@guardian/libs/src/consent-management-platform/usnat/getConsentState.ts
Outdated
Show resolved
Hide resolved
libs/@guardian/libs/src/consent-management-platform/usnat/getConsentState.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Ravi <[email protected]>
🐥 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to add a unit test to document this logic?
It's quite hard to follow without knowing the underlying data model for gppData
🐥 |
🐥 |
🐥 |
🐥 |
What are you changing?
This PR correctly applies correct procedure for getting consent.
Why?