question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove query `temp__: Boolean` when schema is already described.

See original GitHub issue

I’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

Simple project repo

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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
vanatdcommented, Feb 11, 2019

Hey, I have a question: how can i test my code locally?

1reaction
vanatdcommented, May 13, 2019

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found