I am a developer with a passion for testing. I've been coding for 14 years and I want to share my experience and learnings with other developers to help them write better software.
You can definitely do this Apollo Federation, but how you handle it will depend on what kind of type you're dealing with (e.g. object, interface, custom scalar...). The Apollo docs have a good explanation of how to deal with each different type: apollographql.com/docs/apollo-serv...
I am a developer with a passion for testing. I've been coding for 14 years and I want to share my experience and learnings with other developers to help them write better software.
Nice article, I have a question.
What happens if I have two services which persist the same type? Is there a way to manage this? 😂🤦♂️
My understanding from your article and other reading is types should be persisted by a singular service?
You can definitely do this Apollo Federation, but how you handle it will depend on what kind of type you're dealing with (e.g. object, interface, custom scalar...). The Apollo docs have a good explanation of how to deal with each different type: apollographql.com/docs/apollo-serv...
Ok thanks will give that a read. 👍