You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful if we could extend the schema.Reference with an optional field Query query.Predicate that would allow us to specify restrictions on which items could legally be linked.
It would be useful if we could extend the
schema.Reference
with an optional fieldQuery query.Predicate
that would allow us to specify restrictions on which items could legally be linked.Example (somewhere in Schema.Fields):
In validation of a reference value,
Query.Match()
would be called on the payload of the linked resource.Implementation
We have some options on how to implement this:
query.Resource
interface.The text was updated successfully, but these errors were encountered: