Hello,
Yet another bug on Sails 1.0 (which might be what causes #48 to happen): apparently, whenever the create or update blueprint is called, the parseValues method (the one responsible for unwrapping req.body.data.attributes) is not called. Honestly, I can't wrap my head around this; looks like it is somehow bypassed by the original Sails blueprint.
I know you are not planning on developing this add-on anymore, maybe you could pass the repository to someone else? This would be good also to fix the jsonx warning triggered on the newest Sails. This is some very useful code and it would be a shame if it ends up in the very sad deprecation world.
Thank you,
Daniele
Hello,
Yet another bug on Sails 1.0 (which might be what causes #48 to happen): apparently, whenever the
createorupdateblueprint is called, theparseValuesmethod (the one responsible for unwrappingreq.body.data.attributes) is not called. Honestly, I can't wrap my head around this; looks like it is somehow bypassed by the original Sails blueprint.I know you are not planning on developing this add-on anymore, maybe you could pass the repository to someone else? This would be good also to fix the
jsonxwarning triggered on the newest Sails. This is some very useful code and it would be a shame if it ends up in the very sad deprecation world.Thank you,
Daniele