Skip to content
New issue

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

Mix of Nested objects and Avoiding nesting #4762

Open
akaravashkin opened this issue May 29, 2024 · 1 comment
Open

Mix of Nested objects and Avoiding nesting #4762

akaravashkin opened this issue May 29, 2024 · 1 comment
Labels
✨ enhancement a "nice to have" feature v5

Comments

@akaravashkin
Copy link

Hello,

according to docs https://vee-validate.logaretm.com/v4/guide/composition-api/nested-objects-and-arrays/ we can use nested objects OR avoid nesting for dot notation. But what if use it both?

Example payload:

{
  nested: {
    field: "value 1",
    metadata: {
      dotted.field: "value 2"  
    }
  }
} 

Is it could be possible to specify path like nested.metadata.[dotted.field]?

@logaretm logaretm added the v5 label May 29, 2024
@logaretm
Copy link
Owner

Not at the moment, might be worth adding but it would be considered a breaking change so I will reserve this for v5.

@logaretm logaretm added the ✨ enhancement a "nice to have" feature label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement a "nice to have" feature v5
Projects
None yet
Development

No branches or pull requests

2 participants