You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't really get what's going on at that specific line of code. Otherwise I would have attempted to fix it in a PR.
EDIT:
We are instantiating the plugin like this:
createApollo4QueryValidationPlugin({
schema
})
The text was updated successfully, but these errors were encountered:
JannikWempe
changed the title
Cannot read properties of undefined (reading 'options')"
array constraint directive: Cannot read properties of undefined (reading 'options')"
Nov 27, 2023
Hey,
first of all: thanks for the package 🙏🏼
After updating from
5.0.0
to5.3.0
we saw this error:Cannot read properties of undefined (reading 'options')"
The error occurs on an array input field like this:
tags: [PublishPostTagInput!] @constraint(maxItems: 15)
I have narrowed down this issue to this specific line of code in the update from
5.1.1
(which works fine) to5.2.0
(which causes the issue): v5.1.1...v5.2.0#diff-92691f7e07d8e0cf1bca1e0dc22e025d109b1b5ba4f16a83bdc05711a670ed5fR233I don't really get what's going on at that specific line of code. Otherwise I would have attempted to fix it in a PR.
EDIT:
We are instantiating the plugin like this:
The text was updated successfully, but these errors were encountered: