Skip to content

feat: add flag for legacyGet and implement handling in app and core#539

Merged
TillaTheHun0 merged 4 commits intomainfrom
tillathehun0/proposal-get-on-hyper-531
Dec 13, 2022
Merged

feat: add flag for legacyGet and implement handling in app and core#539
TillaTheHun0 merged 4 commits intomainfrom
tillathehun0/proposal-get-on-hyper-531

Conversation

@TillaTheHun0
Copy link
Copy Markdown
Member

@TillaTheHun0 TillaTheHun0 commented Dec 13, 2022

This PR implements a flag applied to "get document" on cache and data services as described in #531 .

This should give us the ability to gradually migrate cache and data adapters to return the hyper shape response, and then eventually no longer default to legacy behavior, befor finally removing it.

While I was in the modules, I cleaned up the tests and added some additional coverage. Some more tests are still needed, which i'll cover in a separate issue.

The changes to hyper-connect will be pushed in a separate PR.

@TillaTheHun0 TillaTheHun0 merged commit 3eec25c into main Dec 13, 2022
@TillaTheHun0 TillaTheHun0 deleted the tillathehun0/proposal-get-on-hyper-531 branch February 20, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

proposal: get on hyper services should return the "hyper response" shape, not the resource.

1 participant