Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Use GraphQL.Client for Scaffolding #31

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

JuanuMusic
Copy link

Using GraphQL improves performance and interaction with GraphQL client. Specifically, this was tested using the SpaceX sample but did't work with the Lens API GraphQL. Using GraphQL.Client got rid of the issue and works on both.

Using GraphQL improves performance and interaction with GraphQL client.
Specifically, this was tested using the SpaceX sample but did't work with the Lens API GraphQL.
Using GraphQL.Client got rid of the issue and works on both.
@JuanuMusic
Copy link
Author

Hey @Giorgi hope you find this improvement helpful.
I thought of using an already existing GraphQL Client instead of having to rely on a custom built.
Maybe this could be implemented on the entire GraphQLinq library.

@JuanuMusic
Copy link
Author

@Giorgi I have switched the Serializer to use System.Text instead of Newtonsoft.
In the future it would be ideal to open that as part of the api to let anyone choose, but it would require many considerations on the Scaffolding. (If you are interested I can create that as an issue)

I have also updated the Scaffolding project to .net 7.0 since EnumMemberAttribute doew not work out of the box. (See description on this commit )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant