Comments (4)
I got rid of the "Unsupported CLR type ``DateTime''" message by adding this scalar to the scheme
schema.AddScalar(new { year = 0, month = 0, day = 0 }, ymd => new DateTime(ymd.year, ymd.month, ymd.day));
from graphql-net.
in the readme file, the developer cleary said that DateTime type is not yet supported.
from graphql-net.
Any news on the fix for DateTime please? I really like this library, so much easier to learn and use than the other one.
from graphql-net.
Thank you very much Jimmy, I have tested by adding your code and I can finally use
schema.AddType<MyObject>().AddAllFields()
on all of my entities!!
This is a great day!!!!!!
from graphql-net.
Related Issues (20)
- .Net Core support HOT 1
- Decimal Argument Types
- AddAllFields does not actually add all fields
- Question: Is this library/repo being actively maintained? HOT 6
- GraphQl in .net framework HOT 1
- Convert IQueryable to GraphQL query
- How create the query with pagination option HOT 14
- Query field, resolve or queryableGetter is being executed twice HOT 6
- Exception when using with GraphiQL
- Behavior on exception doesn't match one from spec
- The type initializer for 'GraphQL.Net.DynamicTypeBuilder' threw an exception.” HOT 8
- [Feature Request] Schema File HOT 1
- Adding headers to the webclient HOT 1
- Mutations with underlying async calls
- [Feature Request] Support variables
- EF issue - user is a value type and cannot be selected from HOT 8
- System.TypeInitializationException on schema.Complete() HOT 1
- DateTime support in queries? HOT 1
- GraphQLTypeBuilder AddListField with another typeBuilder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-net.