Unwanted ragment placeholder on scalar types in sample query
See original GitHub issueThis is the sample query generated for one of my queries.
query getClose($id: String!) {
getClose(id: $id) {
id {
...StringFragment
}
fund {
...FundSubscriptionFragment
}
name {
...StringFragment
}
targetDate {
...DateTimeFragment
}
}
}
The problem is id
, name
and targetDate
fields are just scalar type (string
and DateTime
) so I wish it could be like this.
query getClose($id: String!) {
getClose(id: $id) {
id
fund {
...FundSubscriptionFragment
}
name
targetDate
}
}
I tried to put fieldExpansionDepth
to 2 or 3 but nothing changed. Any idea where did I mess things up?
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
gajus/slonik: A Node.js PostgreSQL client with ... - GitHub
Motivation; Example use of sql.type; Performance penalty; Unknown keys ... Slonik has been battle-tested with large data volumes and queries ranging from ...
Read more >Placeholder Text (String Interpolation) in T-SQL
String Interpolation is a fancy term for a process that takes a string containing placeholders and replaces the placeholders with values. One of ......
Read more >Dynamically generating SQL queries using Node.js
Introduction to building dynamic SQL queries safely in Node.js ... sql will interpret all placeholder tokens and construct final SQL query.
Read more >Infinite Queries | TanStack Query Docs
React Query supports a useful version of useQuery called useInfiniteQuery for querying these types of lists. When using useInfiniteQuery , you'll notice a...
Read more >Schemas and Types - GraphQL
String is one of the built-in scalar types - these are types that resolve to a single scalar object, and can't have sub-selections...
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
You’re the best!!!
I’ve decided to fix and publish this for you in version
1.2.3
. Enjoy!