graphql ruby dynamically refresh schema, well a portion of it. ;)
class Types::DrugType
# hook method that is called to check whether fields changed or not.
def self.dynamic_field_hook
# this is example code, basically if the dynamic fields
# defined for a `SomeType` changes, the checksum changes as well
DynamicField.for(DrugType).checksum