Hi all - I'm trying to add an aspect for domains t...
# troubleshoot
a
Hi all - I'm trying to add an aspect for domains to a custom entity. We are using the snapshots so I think I need to associate it via union of aspects. It's working for all the other types (ownership, globaltags, etc) but adding domain fails. I can properly use an MCP to add the domain..but can't seem to get it on the snapshot so it fails in my snapshots gql mapper The
validateModels
gradle task fails with “found invalid relationship with name AssociatedWith at path /domains/*. Invalid entityTypes(s) provided” I see that the domains aspect has that relationship in the Pegasus files. Is there something I'm doing wrong to add the domain to my snapshot?
o
If you are adding these through the legacy Snapshot model, you will also need to add the Domain entity type that has been added through the entity-registry.yml to the Snapshot model.
thank you 1