Skip to content
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

Test render a model to JSON with default serializer #29

Merged

Conversation

Martouta
Copy link
Owner

Part of #11

Test default model.to_json when the inferred representer class does not exist.
The resource of this test also does not need to respond to model_name, but apparently, it needs to respond to to_model although that it's not for this gem itself but for one of the dependencies.

exist)

The resource of this test also does not need to respond to model_name,
but apparently it needs to respond to to_model although that it's not for this gem itself but for one of the dependencies
@Martouta Martouta self-assigned this Jun 26, 2022
@Martouta Martouta mentioned this pull request Jun 26, 2022
39 tasks
@Martouta Martouta force-pushed the test-default-serialization-when-infer-representer-does-not-exist branch from 21869f8 to dd7570b Compare June 26, 2022 01:02
@Martouta Martouta merged commit 53e5335 into main Jun 26, 2022
@Martouta Martouta deleted the test-default-serialization-when-infer-representer-does-not-exist branch June 26, 2022 01:03
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.

None yet

1 participant