Skip to content
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

Add description and visible flag to sites #157

Conversation

alex-yau-ttd
Copy link
Contributor

@alex-yau-ttd alex-yau-ttd commented Nov 3, 2023

  • Add description and visible to Site, including setters, getters and method overrides
  • Update SiteParser
  • Update tests

See IABTechLab/uid2-admin#173 for relevant changes in admin

- Use ObjectMapper in SiteParser
- Set some propery defaults at the class level - they were done in the old parser
- Defend against nulls
This constructor will be used when creating a new site via admin.
- Remove safe equality check from description
- Formatting
- Use ObjectMapper in the tests
- Fix domains JsonProperty
@alex-yau-ttd alex-yau-ttd merged commit d6c76f6 into master Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants