Skip to content

Commit

Permalink
fix: mark schema as dirty after replace search or disable search
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasalexandre9 committed Jan 24, 2025
1 parent 119c39e commit b508b89
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ def initialize(child_collection, datasource)

def disable_search
@disabled_search = true
mark_schema_as_dirty
end

def replace_search(replacer)
@replacer = replacer
@disabled_search = false
mark_schema_as_dirty
end

def refine_schema(sub_schema)
Expand Down

0 comments on commit b508b89

Please sign in to comment.