• Bob Van Landuyt's avatar
    Expose IDs in GraphQL as a GlobalID · ed503d51
    Bob Van Landuyt authored
    This exposes all fields named `id` as GlobalIDs so they can be used
    across our entire GraphQL implementation.
    
    When the objects loaded are `ApplicationRecord`s. We'll use our
    existing batchloading to find them. Otherwise, we'll fall back to the
    default implementation of `GlobalID`: Calling the `.find` method on
    the class.
    ed503d51
projects_spec.rb 2.1 KB