danielo515 / tiddlypouch

Other
20 stars 9 forks source link

Provide the full Tiddler to the router on the delete method #35

Open danielo515 opened 7 years ago

danielo515 commented 7 years ago

This is closely related to jermolene/TiddlyWiki5#2578

All methods that implements the route interface expects a full Tiddler for being able to route the request. Since tiddlywiki does not provides this functionality, it should be responsibility of the syncadaptor to provide it to the router as it expects it, it is an adaptor after all!

danielo515 commented 7 years ago

This will be harder than I initially expected. Tiddlywiki deletes the tiddler before it is passed to the sync adaptor. Because of this it is not possible to query tiddlywiki for the full tiddler that is being deleted. Tricky stuff...