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

JSON Support in ROM Adapter #524

Merged
merged 6 commits into from
Dec 29, 2018
Merged

JSON Support in ROM Adapter #524

merged 6 commits into from
Dec 29, 2018

Conversation

joelvh
Copy link
Contributor

@joelvh joelvh commented Dec 29, 2018

Updated migrations to allow specifying JSON or JSONB for data and metadata. This required some updating of ROM schema types and also cleaning up the test data uses for SerializedRecord. The test data in RSpec tests worked as arbitrary strings with YAML but not JSON (e.g. a UUID string can be deserialized by YAML but needs quotes in JSON). Minor changes to make the data compatible with both YAML and JSON was sufficient since tests use serialized data rather than a specific RES serializer.

@joelvh joelvh merged commit 45c9a9c into master Dec 29, 2018
@joelvh joelvh deleted the feature/rom_json_support branch December 29, 2018 20:49
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.

1 participant