This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 862
Clone types #32
Comments
AlessandroAnnini
changed the title
Feature - Model duplication
Feature request - Model duplication
Nov 2, 2016
I totally see the value in this feature and we'll consider it when planning the upcoming roadmap. It could also be useful in combination with |
Any update on this, or an idea of when this will be ready? I'm definitely looking forward to this feature, 🙂. |
The CLI offers the right abstraction for this feature. You can simply copy paste the type in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This feature request comes from my experience on graphcool as user and it's something that i needed that i think could be useful for everyone, under certain circumstances.
Situation:
the user had to setup multiple models, some of them has a lot of fields and they are similar to each other.
Issue:
the user has to create every field of every model manually, consuming a lot of time on models with fields that he/she has already created
Request:
a possible solution would be placing a 'duplicate' or 'copy' button on the console interface, on the model name row, or inside the model page that creates a new model called, for example, _1, that already contains every field existing on the origin model.
If for some reason a field or a relation cannot be duplicated the user should have a warning on screen.
The text was updated successfully, but these errors were encountered: