Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New metadata property support #21

Open
nikolaybobrovskiy opened this issue Dec 25, 2014 · 1 comment
Open

New metadata property support #21

nikolaybobrovskiy opened this issue Dec 25, 2014 · 1 comment

Comments

@nikolaybobrovskiy
Copy link

As stated in 5.1 what's new:
"Full metadata support

One of the frequently requested features for Direct subsystem was support for passing metadata with CRUD operations in a Proxy. Previously this was implemented only for Read operations using extraParams property on the Proxy; unfortunately that approach made it near impossible to support CUD operations as well.

Starting with Ext JS 5.1, any Direct method invocation can be supplied with metadata that will be passed to the server side separately from method arguments. This feature is immediately available with Direct proxy as well via the new metadata property that can be used instead of extraParams with full range of CRUD operations."

http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.data.proxy.Direct-cfg-metadata

@gimmi
Copy link
Owner

gimmi commented Dec 27, 2014

Hi Nikolay, I didn't do ext development in a while so I was not aware of tihs new feature. It makes sense to add support for it in ExtDirectHandler project. Do you have some link to some documentation on how this metadata is passed to the server? Also how do you think these metadata should be exposed in the server side method?

Of course, a pull request would be highly appreciated :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants