We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
type struct A {b *B} type struct B {a *A}
will cause stack over flow, think of cycle cite check?
The text was updated successfully, but these errors were encountered:
which func?
Sorry, something went wrong.
github.com/bytedance/[email protected]+incompatible/validator/default.go:16
But I can't reproduce it
type ( Issue23A struct { b *Issue23B v int64 `vd:"$==0"` } Issue23B struct { a *Issue23A v int64 `vd:"$==0"` } ) func TestIssue23(t *testing.T) { var data = &Issue23B{a: &Issue23A{b: new(Issue23B)}} err := vd.Validate(data) assert.NoError(t, err) }
=== RUN TestIssue23 --- PASS: TestIssue23 (0.00s) PASS
No branches or pull requests
type struct A {b *B}
type struct B {a *A}
will cause stack over flow, think of cycle cite check?
The text was updated successfully, but these errors were encountered: