-
-
Notifications
You must be signed in to change notification settings - Fork 597
Open
Description
Bug description
When there is more than one collection that has a Bard field with Sets, the generated GraphQL schema is invalid. List of possible Sets from one of the Bard fields is used for all other collections.
How to reproduce
- Create two collections, "aaa" and "bbb".
- Add a Bard field named
contentto both of them. - Add different sets to the
contentfield for both collections and add sample fields (can be text type) inside sets - Visit GraphiQL Explorer and try to fetch entries including
contentfield on bothEntry_Aaa_AaaandEntry_Bbb_Bbb. You'll see that sets forEntry_Bbb_Bbbare used forEntry_Aaa_Aaaas well (could be the other way, I'm not sure what the rule is here, but looks like it's alphabetical).
Logs
No response
Versions
Statamic 3.2.32 Pro
Laravel 8.82.0
PHP 8.0.15
No addons installed
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
goellner, St3Ko, buffalom, christophstockinger and arcs-