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
Example: the Restful module understands parent-child relationships, but it expects a specific syntax, typically: /parenttype/parentID/childtype/.../. (The 'child-method-test' in the Restful module is a good example of the syntax)
The resourceful.restful engine when given a "parent.children(..) call appears to try /childtype/find (followed presumably by filtering). This only works if all children are explicitly declared in the Restful module server. Even if you declare all the children explicitly in the server, the mismatch appears with other relational calls.
If I have declared only the parent in the server, the correct Restful syntax will find the children (using curl), but the resourceful.restful syntax will not.
(I'm using Mongodb for the ultimate backing store, but that should not make a difference).
I may be misunderstanding the intent of the restful engine. If not, I could cobble together a test by cannibalizing Restful's child-method-test. -- JB
The text was updated successfully, but these errors were encountered:
Example: the Restful module understands parent-child relationships, but it expects a specific syntax, typically: /parenttype/parentID/childtype/.../. (The 'child-method-test' in the Restful module is a good example of the syntax)
The resourceful.restful engine when given a "parent.children(..) call appears to try /childtype/find (followed presumably by filtering). This only works if all children are explicitly declared in the Restful module server. Even if you declare all the children explicitly in the server, the mismatch appears with other relational calls.
If I have declared only the parent in the server, the correct Restful syntax will find the children (using curl), but the resourceful.restful syntax will not.
(I'm using Mongodb for the ultimate backing store, but that should not make a difference).
I may be misunderstanding the intent of the restful engine. If not, I could cobble together a test by cannibalizing Restful's child-method-test. -- JB
The text was updated successfully, but these errors were encountered: