Internal GraphQL schema marks JsonFilter types as DateTime
See original GitHub issueDiscussed in https://github.com/prisma/prisma/discussions/9116
<div type='discussions-op-text'>Originally posted by RobertCraigie September 3, 2021
While looking into adding support for Json
types to https://github.com/RobertCraigie/prisma-client-py I looked through the generated GraphQL schema and noticed that the JsonFilter
type takes values of DateTime
type, I would’ve expected to see either Json
or String
. Should be noted that this happens with and without the preview feature enabled.
Just curious as to whether or not this is intentional.
input JsonFilter {
equals: DateTime
not: DateTime
}
input JsonWithAggregatesFilter {
equals: DateTime
not: DateTime
_count: NestedIntFilter
count: NestedIntFilter
_min: NestedJsonFilter
min: NestedJsonFilter
_max: NestedJsonFilter
max: NestedJsonFilter
}
```</div>
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
GraphQL schema basics
This schema defines a hierarchy of types with fields that are populated from your back-end data stores. The schema also specifies exactly which...
Read more >Schemas and Types - GraphQL
We'll use the "GraphQL schema language" - it's similar to the query language, ... In the type language, we'll represent those with an...
Read more >GraphQL Reporting API Schema - NextRoll API Documentation
The the internal EID of the AdGroupAd relationship, if such a EID exists and if the ad is listed inside an AdGroup. metrics...
Read more >Working with Dates, Time, Timezones in GraphQL ... - Hasura
In this post, we will look at the various data/time types available through Postgres and exposed via GraphQL by Hasura.
Read more >Search and Filtering - GraphQL - Dgraph
When a type contains an @search directive, Dgraph constructs a search input type and a query in the GraphQL Query type. For example,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/prisma/prisma-engines/pull/2152 got merged that should fix it 👍
Ah ok, one level deeper then. We usually treat this as an internal implementation detail - if there is something weird, we will of course still look at it.