You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behaviour happens when the table name is singular (actor vs actors).
ALTER TABLE actor RENAME TO actors fixes the issue
Misc
I built super graph from the source code, ran go build . modified the the dev.yaml file
The text was updated successfully, but these errors were encountered:
FourSigma
changed the title
Super Graph return a row instance when the table name is singular
Super Graph returns a row instance when the table name is singular
Oct 3, 2019
That a feature the name used in the GraphQL selector does not directly map to the database table so if you use actor you will only get 1 value for all use actors. Your table name can be either.
Expected Behaviour
Should return an array of actors.
Actual Behavior
Returns one instance of an actor.
Steps to Reproduce the Problem
ALTER TABLE actor RENAME TO actors
fixes the issueMisc
I built super graph from the source code, ran
go build .
modified the the dev.yaml fileThe text was updated successfully, but these errors were encountered: