Registry splitting with AshGraphql and AshJsonApi

Taking a crack at splitting my registries. I'm getting a lot of this:
In field Author, :Author is not defined in your schema.

Types must exist if referenced.
In field Author, :Author is not defined in your schema.

Types must exist if referenced.
Are there limitations on cross-registry resources, or is this a configuration issue?
4 Replies
ZachDaniel
ZachDaniel3y ago
Have you added all of your APIs to the graphql schema?
\ ឵឵឵
\ ឵឵឵OP3y ago
I haven't split the APIs, would it be preferable to have a 1:1 Api:Registry setup?
ZachDaniel
ZachDaniel3y ago
Ah You can't have more than one registry for a single api If you have
registry Registry
registry Registry2
registry Registry
registry Registry2
in your api, the second one is overwriting the first
\ ឵឵឵
\ ឵឵឵OP3y ago
😆 Ok, thanks mate, I will split them as well 🙂

Did you find this page helpful?