-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: JSON and YAML migration (Mapping -> Serializable) #28
Conversation
dukenguyenxyz
commented
Jan 19, 2021
•
edited
Loading
edited
- Resolves refactor: JSON.mapping -> JSON::Serializable #19
- Resolves feat: JSON emit_null option #14
- Resolves refactor: internal Missing type to not assigning instance var based on self.{{name.id}}_present? #25
- Allow for the following annotations in tags
optimised with present check active-model/src/active-model/model.cr Line 357 in 72ec666
|
I will review and update this soon so we can pull this change in more quickly as 0.36.0 has officially dropped support for JSON/YAML.mapping https://github.com/crystal-lang/crystal/releases/tag/0.36.0 |
it was deprecated a while ago, that's why we use the json mapping shard. No rush. |
Co-authored-by: Caspian Baska <caspianbaska@gmail.com>
Co-authored-by: Caspian Baska <caspianbaska@gmail.com>
Co-authored-by: Caspian Baska <caspianbaska@gmail.com>
spider-gazelle/rethinkdb-orm#21 This issue is actually very troublesome. Any sort of instance variable re-declaration in an inherited model will throw the error. Edit: This can be fixed if the child class instance_var / getter / setter / property does not redefine the TYPE |
@dukeraphaelng what's the status of this pull? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
yep this is good to go |
Waiting on resolution of this comment spider-gazelle/rethinkdb-orm#21 (comment) |
specs failing due to edit: resolved! |
@dukeraphaelng could you please bring this up-to-date with master and check that |
Closing in favour of #34. |