Answer the question
In order to leave comments, you need to log in
How to organize profile model in Ember.js?
Hello!
It is necessary to bring the model to the profile settings page. In the model, only one record with these settings is obtained, and in its essence it will always remain the only one.
How to get this model in the route correctly?
Maybe there is a specific technique for handling such cases?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Hello.
I correctly understood that there is a model that has only one field, and in this field there are a lot of settings in some format, for example json?
If so, then you can write your own Transform that will convert the string to an object when received from the backend to the client and back to a string when saved.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question