Skip to content

Tfchain graphql #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 249 commits into from
Oct 24, 2024
Merged

Tfchain graphql #27

merged 249 commits into from
Oct 24, 2024

Conversation

AlaaElattar
Copy link
Contributor

No description provided.

AlaaElattar and others added 30 commits April 30, 2024 15:19
@AlaaElattar
Copy link
Contributor Author

Screenshot 2024-10-21 at 10 53 21 AM

@AlaaElattar
Copy link
Contributor Author

Screenshot 2024-10-21 at 3 22 37 PM

@AlaaElattar
Copy link
Contributor Author

Screenshot 2024-10-21 at 3 25 06 PM

@AlaaElattar
Copy link
Contributor Author

  • All return options at any model makes code crashes.

@zaelgohary
Copy link
Collaborator

  • All return options at any model makes code crashes.

Works normally when I run same example. Did you build reflectable?

image

@AlaaElattar
Copy link
Contributor Author

  • All return options at any model makes code crashes.

Works normally when I run same example. Did you build reflectable?

image

yess my bad, It's working right.

@AlaaElattar
Copy link
Contributor Author

  • When chooseing any var of the return options, the function crashes.
    Screenshot 2024-10-23 at 3 43 42 PM

@AlaaElattar
Copy link
Contributor Author

When i added edges here in the return options it failed

  final res = await graphQLClient.farms.Connection(FarmsConnectionQueryOptions(orderBy: FarmsOrderByOptions.farmID_ASC), FarmsConnectionReturnOptions(totalCount: true, edges: EdgesReturnOptions(nodeReturnOptions: NodeReturnOptions(id: true))));

@AlaaElattar
Copy link
Contributor Author

When i added edges here in the return options it failed

  final res = await graphQLClient.farms.Connection(FarmsConnectionQueryOptions(orderBy: FarmsOrderByOptions.farmID_ASC), FarmsConnectionReturnOptions(totalCount: true, edges: EdgesReturnOptions(nodeReturnOptions: NodeReturnOptions(id: true))));

same for this one

  final res = await graphQLClient.nodes.Connection(NodesConnectionsReturnOptions(edges: NodeEdgeReturnOptions(cursor: true)),NodesConnectionsQueryOptions());

@AlaaElattar
Copy link
Contributor Author

  final res = await graphQLClient.nodes.list(NodesReturnOptions(interfaces: InterfacesReturnOptions(name: true)), NodesQueryOptions(limit: 4));

@AlaaElattar
Copy link
Contributor Author

  final res = await graphQLClient.nodes.nodeResourcesTotal(NodeResourcesTotalReturnOptions(node: NodesReturnOptions(gridVersion: true)), NodeResourcesTotalQueryOptions(orderby: NodeResourcesTotalOrderByOptions.id_ASC));

@AlaaElattar
Copy link
Contributor Author

  final res = await graphQLClient.nodes.nodeResourcesTotalConnection(NodeResourcesTotalsConnectionReturnOptions(edges: NodeResourcesTotalEdgeReturnOptions(cursor: true, node: NodeResourcesTotalReturnOptions(node: NodesReturnOptions(nodeID: true)))), NodeResourcesTotalsConnectionQueryOptions());

@AlaaElattar AlaaElattar removed the request for review from AhmedHanafy725 October 24, 2024 09:45
@zaelgohary zaelgohary merged commit 1f374f8 into main Oct 24, 2024
2 checks passed
@zaelgohary zaelgohary deleted the tfchain_graphql branch October 24, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants