We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@Type("instructors") open class Instructor : BaseModel() { @JvmField var name: String? = null @JvmField var description: String? = null @JvmField var photo: String? = null @Relationship("courses", resolve = true) @JvmField var courses: ArrayList<Course>? = null @JvmField var instructorCourse: InstructorCourse? = null } @Type("instructor") class InstructorSingle : Instructor()
type with plural names are not handled on the app but on server json-api automatically resolve "instructor" and "instructors" to the same model
The text was updated successfully, but these errors were encountered:
@jasminb is there any option to resolve this or i have to create 2 separate models for this
Sorry, something went wrong.
@jasminb for reference you can see this issue https://stackoverflow.com/questions/32832065/json-api-response-and-ember-model-names
@jasminb any update on this its quite frustrating to make duplicate models
No branches or pull requests
type with plural names are not handled on the app but on server json-api automatically resolve "instructor" and "instructors" to the same model
The text was updated successfully, but these errors were encountered: