Reading the changelog:
Which should reference #5511 (cascade) instead of #5179 (auth)
I understand this is on the bleeding edge and still only available on the master branch. And I understand there is no docs for it at this time. I am just wondering how it might work?
Given example:
type Person {
id: ID!
name: String @search(by: [hash, regexp, fulltext])
hasGiven: [Donations] @hasInverse(field: from)
hasReceived: [Donations] @hasInverse(field: to)
}
type Donations {
id: ID!
amount: Float! @search
from: Person @hasInverse(field: hasGiven)
to: Person @hasInverse(field: hasReceived)
}
If I want to be able to use cascade to find only people who have given or find people who have only received, I understand that I would put @cascade on:
hasGiven: [Donations] @hasInverse(field: from) @cascade
hasReceived: [Donations] @hasInverse(field: to) @cascade
But, after submitting the new schema (using :master image in docker) I am not seeing any difference in the schema giving me the cascade or filter options. The schema is accepted as valid though.
Is there a trick to using this somehow?