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.
Type: feature
The following has been addressed in the PR:
prettier
as 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/resources
module addressing some conceptual inconsistencies, features and interfaces.@dojo/framework/core/middleware/resources
createResource
), now Resource Templates are created and passed to resource aware widgets. The resource creation is handled within the resource middleware.ResourceTemplate
API functions***Options
and***Result
and for the resource template it's***Request
and***Response
init
API on the resource template to perform any custom behaviourfind
capability that enables a template to implement how to find a specific item based on a query, start index and find type (contains
,exact
andstart
) along with the currentResourceOptions
.meta
API that returns back the current options along with the total set by the resource template.getTotal
API from the resource middleware (replaced bymeta
)getOptions
andsetOptions
have been replaced byoptions
that is accessed byproperties()
that can get and set optionscreateOptions
API to generate new optionsresource
docs 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/