-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[SIDE QUEST] MinimumSerializerInterface Tests #6460
Labels
🌲 Project Trim 🌲
PRs related to https://github.com/emberjs/data/issues/6166
Comments
This was referenced Sep 19, 2019
@Gaurav0 is going to work to complete this side-quest :) |
This was referenced Sep 24, 2019
I've interpreted record.serialize as Model.serialize, but there doesn't seem to be a store.serialize? |
This was referenced Oct 3, 2019
Side quest completed solo. |
And much appreciation for it! Great work :D I'm very happy to have all the additional test coverage this introduced :) P.S. I'll be speccing out the tests for Adapters this week |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A Side-Quest for Project Trim!
Side Quests?!?! How fun!
Mission
#6459 introduced test infrastructure for testing ember-data without the
@ember-data/serializer
package being present at all while #6451 introduced the MinimumSerializerInterface. In this repository we want to add integration tests covering three areas.The following things should be tested:
Requests
store.<findAll|findRecord|query|queryRecord>
callserializer.normalizeResponse
with the store methodName as therequestType
once the adapter resolvesserializer.normalizeResponse
being called with the requestTypefindMany
serializer.normalizeResponse
being called with the requestTypefindHasMany
serializer.normalizeResponse
being called with the requestTypefindBelongsTo
extractErrors
hook on the serializerMutation
Serialization/Normalization
The text was updated successfully, but these errors were encountered: