-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure special keys are not in content when loaded (#112)
* Ensure special keys not in content when loaded The loader pop'd keys like collection off the item, then dehydrated the item to be used as the 'content'. With collection removed prior to dehydration, it was flagged with the "do-not-merge" marker because the key is on the base_item. Instead, ensure that id, collection, and geometry are not in content as they are stored on the table row and shouldn't participate in hydration. Additionally, bbox was previously a derived value at search runtime but was recently changed to a returned value if it existed on the item. However, during loading, the bbox was dropped so would never exist on the persisted item. * Simplify geometry check
- Loading branch information
1 parent
3c61e03
commit b06cdc6
Showing
2 changed files
with
39 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters