• Bob Van Landuyt's avatar
    Types::BaseField accepts authorize after reload · 58aaa766
    Bob Van Landuyt authored
    When working on files in `app/graphql` the code correctly gets
    autoloaded.
    
    However, the redefined `Types::BaseField` would never receive the
    `.accepts_definition` call, causing all queries after a reload to
    fail. Calling `.accepts_definition` on its superclass makes sure the
    reloaded version also has the `authorize` definition specified.
    58aaa766
graphql.rb 180 Bytes