Skip to content

Allow custom methods like query#3892

Merged
1cg merged 2 commits into
bigskysoftware:four-devfrom
MichaelWest22:allow-query
Jul 13, 2026
Merged

Allow custom methods like query#3892
1cg merged 2 commits into
bigskysoftware:four-devfrom
MichaelWest22:allow-query

Conversation

@MichaelWest22

Copy link
Copy Markdown
Collaborator

Description

We can allow custom methods with hx-action and h-method like the new Query method which is being implemented. before we had a guard blocking all non standard methods but we only need to block the special case of 'dialog' which we have to ignore to let the browser handle it.

Corresponding issue:

Testing

Added a test for hx-method of query

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

@1cg

1cg commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Thank you!

@1cg 1cg merged commit 117d658 into bigskysoftware:four-dev Jul 13, 2026
3 checks passed
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