alex996 / alex996/graphql-chat

Validation using custom scalar types

Offen
#2 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
discussion
Vorherrschende Sprache
TypeScript
Sterne
165
Forks
47
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

From your video [MERN Stack & GraphQL - #7 Server-Side Validation](https://www.youtube.com/watch?v=t8qpxmuq8CQ), it seems that you don't approach the subject of using custom scalar types for [validation](https://www.apollographql.com/docs/graphql-tools/scalars.html#Validations).

There are already several packages that use that idea:
- [@okgrow/graphql-scalars](https://github.com/okgrow/graphql-scalars)
- [GraphQL Custom Types](https://github.com/stylesuxx/graphql-custom-types)
- ...

What are your thought about it?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.