Skip to content

Conversation

norkunas
Copy link
Contributor

Q A
Branch? 2.6
Bug fix? yes
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

Add a PropertySchemaUniqueRestriction to transform Unique validation constraint into uniqueItems: true JSON Schema restriction.

@norkunas norkunas force-pushed the property-schema-unique-restriction branch from bf72d39 to 0215cf9 Compare March 25, 2021 08:40
Copy link
Member

@dunglas dunglas left a comment

Choose a reason for hiding this comment

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

Thanks! As for Range can you target the main branch instead of 2.6 please?

@norkunas norkunas force-pushed the property-schema-unique-restriction branch 2 times, most recently from ff71200 to 4c9185b Compare March 25, 2021 09:42
@soyuka soyuka force-pushed the property-schema-unique-restriction branch from 4c9185b to 0022819 Compare March 25, 2021 13:09
@soyuka soyuka changed the base branch from 2.6 to main March 25, 2021 13:09
@norkunas norkunas force-pushed the property-schema-unique-restriction branch from 0022819 to 4c9185b Compare March 25, 2021 13:18
@soyuka soyuka force-pushed the property-schema-unique-restriction branch from 4c9185b to f74649b Compare March 25, 2021 13:19
@norkunas norkunas force-pushed the property-schema-unique-restriction branch from f74649b to c787ad8 Compare March 25, 2021 13:27
@norkunas norkunas changed the title Fix generating property schema with Unique restriction Add support for generating property schema with Unique restriction Mar 25, 2021
@alanpoulain alanpoulain merged commit 38775b4 into api-platform:main Mar 26, 2021
@alanpoulain
Copy link
Member

Thank you @norkunas.

@norkunas norkunas deleted the property-schema-unique-restriction branch March 26, 2021 10:47
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.

3 participants