Remove query `temp__: Boolean` when schema is already described.
See original GitHub issueI’m submitting a…
[ ] Regression
[x] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
When we provide typePaths
for loading gql schema, we get query temp__: Boolean
with our queries always.
I don’t know, is it a bug or feature request, that why I mark two.
Here I found that you add temp__
query at any way.
Expected behavior
Add temp query only when we haven’t any of schema described.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
It’s add a misunderstanding when we use schema as a contract.
Environment
Nest version: 5.5.0
We use @nestjs/graphql#5.4.0, but I've checked it on a latest version.
For Tooling issues:
- Node version: v10.13.0
- Platform: Mac
Others:
Kudos
Thanks man, you make a great job! NestJS is awesome framework!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
GraphQL schema basics - Apollo GraphQL Docs
Your GraphQL server uses a schema to describe the shape of your available data. This schema defines a hierarchy of types with fields...
Read more >How to write SELECT * EXCEPT queries in Oracle Database
Remove columns by name or type from query results using Polymorphic Table Functions or SQL Macros.
Read more >Documentation: 15: CREATE VIEW - PostgreSQL
CREATE OR REPLACE VIEW is similar, but if a view of the same name already exists, ... Temporary views exist in a special...
Read more >Data definition language (DDL) statements in ... - Google Cloud
Enter the DDL statement into the Query editor text area. For example: ... a: An array of strings, with description "A repeated STRING...
Read more >How to check if a table exists in a given schema - Stack Overflow
The query provided by @kong can return FALSE , but the table can still exist. It answers the question: How to check whether...
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 Free
Top 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
Hey, I have a question: how can i test my code locally?
Awesome! No problem!
I’ve spent some time to fix that, and understand that too much code for such small fix and wanted to close the issue, but you fix that! Thanks so much!
I’ll check and give feedback!