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

feat(additional-properties): adds typed expando object schema #193

Merged
merged 9 commits into from
Nov 28, 2024

Conversation

asadali214
Copy link
Collaborator

This PR adds a new schema for validating, mapping and un-mapping additional properties in an object. It will also validate and skip the additional properties that do not match the specified type while mapping. While the un-mapping step will fail if the additional properties key matches one of the objects original keys.

Closes #192

@asadali214 asadali214 added the enhancement New feature or request label Oct 30, 2024
@asadali214 asadali214 self-assigned this Oct 30, 2024
@asadali214 asadali214 linked an issue Oct 30, 2024 that may be closed by this pull request
Copy link

sonarcloud bot commented Oct 31, 2024

Copy link
Collaborator

@MaryamAdnan3 MaryamAdnan3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The suggested improvements were catered in the PR.

@asadali214 asadali214 merged commit b36ed4d into master Nov 28, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for typed additional properties in expandoObject schema
2 participants