Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type: feature
The following has been addressed in the PR:
prettieras per the readme code style guidelinesDescription:
An Iteration on the initial implementation of Dojo Resources. This looks like a re-write but actually has been consolidated into a single
middleware/resourcesmodule addressing some conceptual inconsistencies, features and interfaces.@dojo/framework/core/middleware/resourcescreateResource), now Resource Templates are created and passed to resource aware widgets. The resource creation is handled within the resource middleware.ResourceTemplateAPI functions***Optionsand***Resultand for the resource template it's***Requestand***ResponseinitAPI on the resource template to perform any custom behaviourfindcapability that enables a template to implement how to find a specific item based on a query, start index and find type (contains,exactandstart) along with the currentResourceOptions.metaAPI that returns back the current options along with the total set by the resource template.getTotalAPI from the resource middleware (replaced bymeta)getOptionsandsetOptionshave been replaced byoptionsthat is accessed byproperties()that can get and set optionscreateOptionsAPI to generate new optionsresourcedocs to reflect all the changesDiff of the changes for dojo/widgets: dojo/widgets@master...agubler:resource-middleware-upgrade
Widget parade deployment: https://dist-ggz7lt0d5.now.sh/