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

Initial GraphQL implementation #11

Merged
merged 3 commits into from
Nov 3, 2023
Merged

Initial GraphQL implementation #11

merged 3 commits into from
Nov 3, 2023

Commits on Nov 1, 2023

  1. Generate GraphQL install

    This adds the GraphQL gem and generates a GraphQL installation.
    jazairi committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    918c8ce View commit details
    Browse the repository at this point in the history
  2. Implement initial GraphQL interface

    Why these changes are being introduced:
    
    We need a GraphQL interface to record SearchEvents from TACOS
    consumers.
    
    Relevant ticket(s):
    
    https://mitlibraries.atlassian.net/browse/ENGX-234
    
    How this addresses that need:
    
    This adds a SearchEvent type and corresponding query field that
    returns information about the search event and creates a new
    SearchEvent (and Term, if applicable).
    
    Side effects of this change:
    
    * Removed a couple of generated GraphQL test fields.
    * Miscellaneous rubocop fixes.
    jazairi committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    8301b7e View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Remove mutation from TacosSchema

    The introspection query was erroring `Type Mutation must define one or more fields`. Since we don't currently provide a mutation, this should be fine.
    JPrevost committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    a99f2b4 View commit details
    Browse the repository at this point in the history