RFC 3 / Accepted

Custom Scalar Specification URLs

Opened on
Merged on

At a glance

Project
GraphQL Spec
Identifier
#649
Stage
RFC 3 / Accepted
Champion
@eapache
Updated
2023-11-14
Latest activity
Pull request merged on
Source

Pull request description

This PR contains the specification changes needed for https://github.com/graphql/graphql-spec/issues/635.

Timeline

April 2021

January 2021

September 2020

  • On the agenda for GraphQL WG

    18 listed attendees · 12 agenda items · 3 linked RFCs

    • Agree to Membership Agreement, Participation Guidelines and Code of Conduct (1m, Lee)
    • Introduction of attendees (5m, Lee)
    • Determine volunteers for note taking (1m, Lee)
    • Review agenda (2m, Lee)
    • Review previous meeting's action items (5m, Lee)
    • Allowing deprecation of inputs (10m, Evan) #525
    • TypeScript Migration Progress in graphql-js (5m, Dotan)
    • How to bootstrap graphql-js working group? (5m, Dotan)
    • GitHub infrastructure for managing Working groups (10m, Ivan)
    • @defer/@stream (15m, Rob/Liliana) #742
    • GraphQL Scalars project call for participation and question how to progress (15 min, Andi) #649
    • ADD YOUR AGENDA ABOVE

August 2020

  • On the agenda for GraphQL WG

    14 listed attendees · 12 agenda items · 3 linked RFCs

    • Agree to Membership Agreement, Participation Guidelines and Code of Conduct (1m, Lee)
    • Introduction of attendees (5m, Lee)
    • Determine volunteers for note taking (1m, Lee)
    • Review agenda (2m, Lee)
    • Review previous meeting's action items (5m, Lee)
    • Custom Scalar Update (5m, Andi) #649
    • @defer/@stream (15m, Rob/Liliana) #742
    • Field Coordinates RFC (15m, Mark)
    • GraphQL over WebSocket refresh, existing issues and security implications (10m, Denis)
    • Adding generics to DocumentNode and Source to allow TypeScript type inference (10m, Dotan)
    • TypeScript migration plan progress and next steps (10m, Dotan)
    • Tagged type RFC (30m, Benjie) #733

July 2020

  • Advanced to RFC 3 on by leebyron
  • Discussed in GraphQL WG

    GraphQL custom Scalar PR in spec: graphql/graphql-spec/pull/649

    • Evan: We're not sure what the next step is to get this merged.
    • Lee: I'll move this to stage 3
    • ACTION - Lee - read over this and make sure we're not missing anything, and perform the merge.
    • Lee: I have 95% confidence we'll merge it as-is.
    • Ivan: I'm concerned that people will read the example for UUID/etc as if it's a real thing. We should make it a URL that doesn't look official to make it clear it's an example.
    • Lee: since URLs are well agreed upon and have really strong definitions (and so does UUID), it seemed like a good type to pick for the example. It would be completely fine to use this example URL.
    • Ivan: if we set up the repo for common scalars, someone will add UUID and URLs to this repo even though there's already specifications.
    • Lee: I don't have a problem with people pointing to the IETF specs; but I do understand your point about people cargo-culting the example. They should be real examples that demonstrate how to use it - putting example everywhere won't help people know how to use them as much.
    • Benjie: I'm not super familiar with this PR, but do we need anything GraphQL-specific in these specs?
    • Evan: for completeness we would probably want a document that says "reference this IETF spec, and serialize it as a string"
    • Lee: for URL there's no ambiguity; string is fine. For UUID there's maybe some ambiguity because there may be a few encodings. For DateTime it's definitely an issue.
    • Lee: it should be clear that you can have scalars in your own domain that are only used in your domain.
    • Ivan: we should allow vendor URLs. It reduces our workload if people can use vendor-specific things - they'd be less pushy about pushing their scalars to be standard.
    • Evan: I'm onboard with that.
    • ACTION - Lee - make minor changes as a last patch before merging
    • We'd love for GraphQL-scalars.com to evolve into something like what npm feels, where the URLs are immutable but you can easily point to the latest version of each spec. Trade off is that none of the specs would be official; it's a centralised place to store specs, to search them, and to pick one of the 13 specs for Date that best suit your needs.
    • We've started a new repo for this and Andy has moved part of their initial progress into this. It's in the GraphQL org as graphql-scalars (I think).

    Happy Independence Day and Canada Day!

    Meeting notes · GraphQL WG · 2020-07-02

June 2020

  • On the agenda for GraphQL WG

    15 listed attendees · 9 agenda items · 2 linked RFCs

    • Agree to Membership Agreement, Participation Guidelines and Code of Conduct (1m, Lee)
    • Introduction of attendees (5m, Lee)
    • Determine volunteers for note taking (1m, Lee)
    • Review agenda (2m, Lee)
    • Review previous meeting's action items (5m, Lee)
    • GraphQL Scalars hosting and coordination (10m, Evan and Andi) #649
    • GraphQL namespaces (20m, Courtney)
    • Input Union Criteria: Unconstrained combination of input types to unions (20m, Benedikt)
    • Input Union & Tagged Types (30m, Lee, Benjie, Evan, Vince) #586

May 2020

  • On the agenda for GraphQL WG

    21 listed attendees · 11 agenda items · 2 linked RFCs

    • Agree to Membership Agreement, Participation Guidelines and Code of Conduct (1m, Lee)
    • Introduction of attendees (5m, Lee)
    • Determine volunteers for note taking (1m, Lee)
    • Review agenda (2m, Lee)
    • Review previous meeting's action items (5m, Lee)
    • Custom scalar specification URIs (5m, Evan Huus / Matt Farmer) #649
    • Query a Query query query: "query" ambiguity (10m, Benjie)
    • Discuss RFC adding introspection shortcuts to determine full typename and named type’s name (15m, Terrence) #710
    • Input Union RFC
    • @defer/@stream arguments and payload format (20m, Rob / Liliana)
    • ADD YOUR AGENDA ABOVE

April 2020

  • On the agenda for GraphQL WG

    12 listed attendees · 8 agenda items · 2 linked RFCs

    • Introduction of attendees (5m, Lee)
    • Agree to Membership Agreement, Participation Guidelines and Code of Conduct (1m, Lee)
    • Determine volunteers for note taking (2m, Lee)
    • Review agenda (2m, Lee)
    • GraphQL Foundation Turns 1! See the Annual Report: https://foundation.graphql.org/annual-report-2019/
    • Custom scalar specification URIs (5m, Evan Huus / Matt Farmer) #649
    • Input union RFC (5m, Evan Huus / Vince Foley) InputUnion
    • application/graphql media type status (10m, Benjie)

March 2020

February 2020

January 2020

December 2019

November 2019

August 2019