Giter Club home page Giter Club logo

Comments (13)

byme8 avatar byme8 commented on August 30, 2024

Yeap, I forgot about the built-in ID scalar. I will have a look at it

from zeroql.

byme8 avatar byme8 commented on August 30, 2024

@kiranchandran Checkout 3.3.0-preview.2 It should generate proper GraphQL classes.

from zeroql.

kiranchandran avatar kiranchandran commented on August 30, 2024

Hi @byme8 Great, Thanks.

The issue with the ID is fixed, but it still in error state with the TimeSpan data type in GraphQL. You can use the same example https://workshop.chillicream.com/graphql?sdl to re-create the issue

from zeroql.

byme8 avatar byme8 commented on August 30, 2024

Are you sure that you are using 3.3.0-preview.2 in ZeroQL CLI and the csproj itself? It has a fix for TimeSpan too.

from zeroql.

byme8 avatar byme8 commented on August 30, 2024

I don't see issues with https://workshop.chillicream.com/graphql?sdl.

from zeroql.

kiranchandran avatar kiranchandran commented on August 30, 2024

Hi @byme8

Yes I use the version 3.3.0-preview.2.
Here is the sample I have created. https://github.com/kiranchandran/ZeroQLDemo

from zeroql.

byme8 avatar byme8 commented on August 30, 2024

https://github.com/kiranchandran/ZeroQLDemo/blob/master/.config/dotnet-tools.json here you have 3.2.0

from zeroql.

kiranchandran avatar kiranchandran commented on August 30, 2024

Hi @byme8,

I forgot about that config file. I though updating the nugget package is enough.
I just changes it and it works like a charm.

I just updated the sample with another schema and I get some build error for some custom types.
If you don't mind could you please help me in that too?

Thanks in Advance
Kiran

from zeroql.

byme8 avatar byme8 commented on August 30, 2024

Do you know how the scalar CompanyIdis implemented in the C# level?

from zeroql.

byme8 avatar byme8 commented on August 30, 2024

I mean, on the backend

from zeroql.

byme8 avatar byme8 commented on August 30, 2024

In your new schema, there is an interface Dealer. It is just defined but never actively used. Do you know the intention behind it?

from zeroql.

byme8 avatar byme8 commented on August 30, 2024

Uploaded version 3.4.0. It can generate proper classes from your new schema. I have tried to test as much as possible, but your schema looks like broken or changed manually. Still, I managed to generate code that at least was able to compile and pass test cases that I managed to replicate with the HotChocolate server.

from zeroql.

kiranchandran avatar kiranchandran commented on August 30, 2024

Hi @byme8

Thanks for following up and fixing this in the package. In fact I was looking for this for a project which is not active right now. But I appreciate you took time to get this fixed.

Thanks

from zeroql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.