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
I have a GraphQL server running that exposes property as a root field, with the following schema:
exportconstproperty={type: newGraphQLList(propertyType),args: {id: {description: 'ID of the property',type: newGraphQLList(GraphQLInt)}},resolve: resolver(Property)};
It should return a list of propertyType items which have properties such as propertyName, propertyDescription, etc.
classPropertyextendsReact.Component{render(){console.log(this.props);return(<div><ul><p> I dont do anything yet </p></ul></div>);}}exportdefaultRelay.createContainer(Property,{fragments: {property: ()=>Relay.QL` fragment on Property { propertyName, id } `}});
300 is the right number and what I want is a property property returned with an array of objects with the propertyName and id. I thought #361 would fix it, but I've pulled and built the most current version of Relay from this repository and the issue still occurs.
The text was updated successfully, but these errors were encountered:
I have a
GraphQL
server running that exposesproperty
as a root field, with the following schema:It should return a list of
propertyType
items which have properties such aspropertyName
,propertyDescription
, etc.property
is a property of the returnedfields
object and everything works fine with direct queries. Now I also have a Relay app with the route:Which is used by the component
The issue is, I'm getting the error:
300 is the right number and what I want is a
property
property returned with an array of objects with thepropertyName
andid
. I thought #361 would fix it, but I've pulled and built the most current version of Relay from this repository and the issue still occurs.The text was updated successfully, but these errors were encountered: