Hi there,
I have been looking into stores and I wish to create a store to call a restful service that returns a list of fields but no Success field (carrying a boolean). After reading this I left a little confused http://ift.tt/1hVfzOP and here
http://ift.tt/1hVfCKd
I can't modify my service to include a Success field but the reader needs one ? I know you can reconfigure the name of the Success property, but i simple don't have one.
What are my options here?
Also my model has some properties i.e. UserId but my service returns Id, what are my options for mapping when a model property doesn't match the name of a property being returned from a service.
Any help really appreciated
Thanks
Aucun commentaire:
Enregistrer un commentaire