-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
ideaNew idea to enhance the library, suggestion, etc.New idea to enhance the library, suggestion, etc.user expThis issue tackles problems with user experience e.g. overcomplicated APIThis issue tackles problems with user experience e.g. overcomplicated API
Description
Right now, fromModelName takes one argument: object that takes all needed fields. On the other hand, fromCustomModel takes the same positional arguments as the first one, without field modelName. The reason why fromModelName takes one arguments is mainly because we can bundle constants to export them in a friendly way for a user. Theoretically, there is no need for that in case of fromCustomModel. However, we may consider unifying API for simplicity. We need to discuss it internally.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ideaNew idea to enhance the library, suggestion, etc.New idea to enhance the library, suggestion, etc.user expThis issue tackles problems with user experience e.g. overcomplicated APIThis issue tackles problems with user experience e.g. overcomplicated API