Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring in latest changes from shurcool/graphql #10

Merged
merged 10 commits into from
Oct 6, 2023
Merged

Commits on May 20, 2022

  1. ident: add GitLab, DevOps, IssueHunt, LFX brands

    These help generate nicer identifiers in the githubv4 package.
    
    Also remove mention of golint since it's deprecated, and sort
    the initialisms map.
    dmitshur committed May 20, 2022
    Configuration menu
    Copy the full SHA
    bdb1221 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. internal/jsonutil: support directives directly after name

    Also consider "@" when looking for the end of the field name, since
    GraphQL directives can follow a field name immediately without any
    arguments or aliases being involved. For example:
    
    	query {
    		me {
    			firstName
    			lastName @include(if: $expandedInfo)
    		}
    	}
    
    The strings.Index check for "@" is the third separator we look for.
    There's no reason to look separately, since we just want the first
    field name separator.
    
    Add test covering a GraphQL directive that immediately follows the
    field name.
    
    Co-authored-by: Dmitri Shuralyov <[email protected]>
    GitHub-Pull-Request: shurcooL#94
    david-bain and dmitshur authored Jun 6, 2022
    Configuration menu
    Copy the full SHA
    3cf50f8 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. regenerate README.md, add go.mod, remove .travis.yml

    Ignore example/graphqldev for now to avoid needing its dependencies
    for 'go test all' and the module as a whole.
    dmitshur committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    63a4f2a View commit details
    Browse the repository at this point in the history
  2. use package io instead of io/ioutil

    Package ioutil is longer and deprecated.
    dmitshur committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    24ceaa0 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. ident: fix a typo in 'identifier'

    GitHub-Pull-Request: shurcooL#108
    alexandear authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    85bf0c3 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. drop golang.org/x/net dependency

    Package graphql has only one ctxhttp.Post call that requires
    the golang.org/x/net module. It's easy enough to use net/http
    directly and drop x/net so there are fewer dependencies that
    need to be maintained.
    
    Co-authored-by: Dmitri Shuralyov <[email protected]>
    GitHub-Pull-Request: shurcooL#110
    alexandear and dmitshur authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    7016eab View commit details
    Browse the repository at this point in the history
  2. replace interface{} with any

    The predeclared identifier 'any', an alias for the empty interface,
    is available as of Go 1.18. Use it in place of 'interface{}' since
    it's slightly shorter.
    
    GitHub-Pull-Request: shurcooL#109
    alexandear authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    3e04114 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2023

  1. update links to GraphQL specification

    User newer and more consistent links.
    
    GitHub-Pull-Request: shurcooL#113
    alexandear authored Jul 22, 2023
    Configuration menu
    Copy the full SHA
    ed46e5a View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Merge branch 'trunk'

    samcoe committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    ad010c5 View commit details
    Browse the repository at this point in the history
  2. Update to Go 1.21

    samcoe committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    e696888 View commit details
    Browse the repository at this point in the history