-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configuration parameter to load enumerations on all schemas. #5379
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes and the new tests!
@@ -904,32 +892,24 @@ Array::get_enumerations_all_schemas() { | |||
} | |||
|
|||
// Store the loaded enumerations into the schemas. | |||
auto latest_schema = opened_array_->array_schema_latest_ptr(); | |||
for (const auto& schema_enmrs : ret) { | |||
for (const auto& [schema_name, enmrs] : ret) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
I am merging this so that we can proceed with the release but Academy docs will need to be updated eventually with that config change. cc @shaunrd0 @nickvigilante |
This adds a new config parameter `rest.load_enumerations_on_array_open_all_schemas` to control loading enumerations on all array schemas. The previously existing `rest.load_enumerations_on_array_open` config parameter is used to control loading enumerations on the latest schema only. --- TYPE: FEATURE DESC: Add `rest.load_enumerations_on_array_open_all_schemas` config parameter. --------- Co-authored-by: Isaiah Norton <[email protected]>
Updated config_api_external.h to match config.h
Update docs for REST enumeration config options. --- TYPE: NO_HISTORY --------- Co-authored-by: Shaun Reed <[email protected]>
This adds a new config parameter
rest.load_enumerations_on_array_open_all_schemas
to control loading enumerations on all array schemas. The previously existingrest.load_enumerations_on_array_open
config parameter is used to control loading enumerations on the latest schema only.TYPE: FEATURE
DESC: Add
rest.load_enumerations_on_array_open_all_schemas
config parameter.