Module: ActiveAdmin::GraphQL::Integration::ApplicationUnloadClearsGraphQLSchema
- Defined in:
- lib/active_admin/graphql/integration.rb
Overview
Stale cached schemas keep references to resources/controllers cleared by unload! (e.g. specs that reload registrations). Always drop cached schema when AA unloads.
Instance Method Summary collapse
Instance Method Details
#unload! ⇒ Object
57 58 59 60 |
# File 'lib/active_admin/graphql/integration.rb', line 57 def unload! super ActiveAdmin::GraphQL.clear_schema_cache! end |