-
Notifications
You must be signed in to change notification settings - Fork 150
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: add resource link support and validation #1124
Conversation
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.
Some nits, looks good otherwise
test/unit/lib/offline-api/validation/payload-validation-resource-links.spec.ts
Outdated
Show resolved
Hide resolved
test/unit/lib/offline-api/validation/payload-validation-resource-links.spec.ts
Outdated
Show resolved
Hide resolved
test/unit/lib/offline-api/validation/payload-validation-resource-links.spec.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Joanna Zakrzewska <[email protected]>
Co-authored-by: Joanna Zakrzewska <[email protected]>
Co-authored-by: Joanna Zakrzewska <[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.
This is awesome! 🎉
I have a few questions / confusions, other than that very happy about this addition, I learned a lot about resourceLinks
reading this PR.
In general, I understand correctly that this PR mainly "just" introduces one a new field type and its related additional validations which are encapsulated in the ResourceLinksValidator
, correct?
🎉 This PR is included in version 4.12.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
Add support for resource links.
Description
allowedResources
field propertyallowedResources
structure