Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

(chore) - dev warnings #63

Merged
merged 4 commits into from
Sep 6, 2019
Merged

(chore) - dev warnings #63

merged 4 commits into from
Sep 6, 2019

Conversation

JoviDeCroock
Copy link

adds selectionSet validation when we have a schema available…, this also introduces limiting an error will be identified and globally kept. This way we won't spam the user with errors of the same query happening twice/more

…, this also introduces limiting an error will be identified and globally kept. This way we won't spam the user with errors of the same query happening twice/more
@JoviDeCroock JoviDeCroock requested a review from kitten September 6, 2019 11:15
@JoviDeCroock JoviDeCroock marked this pull request as ready for review September 6, 2019 14:36
@JoviDeCroock JoviDeCroock requested a review from kitten September 6, 2019 14:36
@@ -0,0 +1,10 @@
import w from 'warning';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is maybe out of scope for this PR but given that we completely scope warnings not to be in production, we can probably just log ourselves here and get rid of the dependency

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't mind replacing the w with console.error or console.warn if you want. The current behaviour of warning is to call error

@JoviDeCroock JoviDeCroock merged commit e66d7be into master Sep 6, 2019
@JoviDeCroock JoviDeCroock deleted the feat/dev-warnings branch September 6, 2019 14:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants