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

errors store added #7

Closed
wants to merge 1 commit into from
Closed

errors store added #7

wants to merge 1 commit into from

Conversation

romsar
Copy link
Owner

@romsar romsar commented Jul 14, 2024

No description provided.

setInertiaLocationInResponse(w, url)
return
}

redirectResponse(w, r, url, status...)
}

func (i *Inertia) captureValidationErrors(r *http.Request) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now it returns early if there is no errorStore. Maybe it's smart to still check and add the errors from context before checking if there is an errorStore

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I rethought some ideas and it seemed easier to start over.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@romsar I just saw, I think that is the correct way, not forcing people to use it but add the possibility.

@romsar romsar closed this Jul 16, 2024
@JensvandeWiel
Copy link

If i may ask, why was this closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants