Using objects instead of IDs
Simplify GraphQL object handling with Sofa. Learn how to ignore the default ID behavior and send entire objects using the ignore parameter. #GraphQL #Sofa
There are some cases where sending a full object makes more sense than passing only the ID. Sofa allows you to easily define where to ignore the default behavior:
Whenever Sofa tries to resolve an author of a message, instead of exposing an ID it will pass whole data.