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

Removing :truncate-request? from server config #142

Merged
merged 3 commits into from
Sep 5, 2024

Conversation

enilas
Copy link
Contributor

@enilas enilas commented Sep 4, 2024

It's automatically being added without needing an explicit key to be set.

Submission Checklist

  • Code passes linter rules (clj-kondo --lint src)

@enilas enilas requested a review from lambdatronic September 4, 2024 06:30
@enilas enilas self-assigned this Sep 4, 2024
PNguyenSIG and others added 2 commits September 3, 2024 23:38
* Global
- Rename `:truncate-request?` to `:truncate-request` everywhere

* README.org
- Make `:truncate-request` false by default (more intuitive)

* config.namespaced-example.edn
- Add example for `:triangulum.handler/truncate-request`

* config.nested-example.edn
- Add example for `:server` -> `:truncate-request`

* src/triangulum/config.clj
- 27: `::boolean` spec is unused

* src/triangulum/config_namespaced_spec.clj
- 36: Include `:triangulum.handler/truncate-request` in server spec

* src/triangulum/config_nested_spec.clj
- 23: Include `:triangulum.handler/truncate-request` in server spec

* src/triangulum/handler.clj
- 38: Add spec: `::truncate-request boolean?`
- Change :truncate-request logic to be false by default (more intuitive)

* src/triangulum/server.clj
- 28: Remove `::truncate-request` spec
@lambdatronic lambdatronic merged commit 97c8767 into main Sep 5, 2024
2 checks passed
@lambdatronic lambdatronic deleted the HER-648-pnguyen-remove-unnecessary-config branch September 5, 2024 19:02
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.

3 participants