• Bob Van Landuyt's avatar
    Eager load the GraphQL schema in specs · 0b27841f
    Bob Van Landuyt authored
    Avoid counting on Rails eager loading the GraphQL types, but preload
    them before the specs.
    
    This would avoid loading the schema in 2 separate threads
    concurrently (1 inside the specs, 1 inside the test-server that will
    receive requests). Loading the schema in parallel like that could
    cause duplicate definition errors.
    0b27841f
graphql_helpers.rb 5.63 KB