You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the API change is backwards-incompatible in a way that could be very confusing,
namely as replace_to_one_relationship has the same amount of parameters but are very
different than what there was before
Keyword arguments are supported ever since Ruby 2.0 so we can use them
The replace operation could even call the new replace/remove relationship authorization methods
If this wouldn't be done, we might need to bump to v2.0.0 after implementing as it would be a major breaking change in the API... so better look into it sooner than later
This is a roadmap for getting to version 1.0.
DefaultPunditAuthorizermethods could be changed to use keyword argumentsnamely as
replace_to_one_relationshiphas the same amount of parameters but are verydifferent than what there was before
DefaultPunditAuthorizer#replace_fieldsand figure out if it could be implemented similarly to Authorize relationship actions with custom policy methods #40 didjsonapi-resourcesNot compatible with v0.9.0 of jsonapi-resources #36replace_polymorphic_to_one_relationship...is there anything I've missed?
This roadmap is intended to be a live documentation that can be changed later as need be.