Posibility of refactoring the structur of the FormGroup
object ofr much nicer DX
#316
then3rdman
started this conversation in
Suggestions
Replies: 2 comments 5 replies
-
Hey @then3rdman, to be honest I've been thinking of this as well in the past. Let's discuss it first. Are you thinking to make the processing internally so the user-provided schema would be the same, or would the user-provided schema change entirely? Would love to see some code examples with what you've got in mind. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Playing with this now and looking good. Though it is rather complex because of the mixins and options API. Obviously significant work but thoughts on transitioning to composables and coposition api? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Long story short, if the actual form fields where to be nested within a
fields
object then we would be able to generate significally nicer types and even provide propper autocompletes on theFormGroup
object that is used within the VUE component.Happy to discuss the details of why but before I create a PR with what would be a breaking change, I wanted to see if this would fly?
Beta Was this translation helpful? Give feedback.
All reactions