Skip to content

Conversation

@zapo
Copy link

@zapo zapo commented Dec 6, 2024

Towards #48

This fixes AbstractLazilyEncodableSection to build an array of segments as defined in https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform/blob/main/Core/CMP%20API%20Specification.md#getsection- rather than a single object with all of its segments merged in.

AbstractLazilyEncodableSection.toObj which is used to populate parsedSections and returned by getSection* so this would be a breaking change.

I'm happy to add tests for GppModel.toObject as it seems to be intended to represent parsedSections.

@zapo zapo changed the title Fix AbstractLazilyEncodableSection encoding to better match specs Fix AbstractLazilyEncodableSection.toObj to better match specs Dec 6, 2024
@zapo zapo closed this Mar 21, 2025
@jameshartig
Copy link
Contributor

@zapo why was this closed? It seems like the original issue hasn't been fixed.

@zapo
Copy link
Author

zapo commented Aug 14, 2025

@jameshartig Happy to reopen, mostly because I didn't get any feedback and the original issue didn't seem confirmed by maintainers

@zapo zapo reopened this Aug 14, 2025
@lamrowena lamrowena added investigate To validate if still an issue reviewed For library maintainers only. Indicates that this issue was reviewed. labels Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

investigate To validate if still an issue reviewed For library maintainers only. Indicates that this issue was reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants