Skip to content

Restrict SQL list fields typing to the projection allowlist - #66

Merged
FabianoEger merged 1 commit into
mainfrom
fix/sql-list-fields-typing
Jul 27, 2026
Merged

Restrict SQL list fields typing to the projection allowlist#66
FabianoEger merged 1 commit into
mainfrom
fix/sql-list-fields-typing

Conversation

@FabianoEger

Copy link
Copy Markdown
Member

Summary

Restricts the SQL list fields typing to the projection allowlist shipped by tago-io/server#1692: id, name, tags, active, created_at, updated_at. Other row fields (query, params, description, cache settings, session_context) are info-only on the API, so projecting them from the list now returns a 400; the types should stop offering them.

Test plan

  • Full test suite green after the change

Risk (CIA)

Likelihood: 🟢 Low | Impact: 🟢 Low | Exposure: 🟢 Low

Related

  • tago-io/server#1692

@FabianoEger
FabianoEger requested a review from felipefdl July 24, 2026 01:25
@FabianoEger
FabianoEger merged commit 70b854d into main Jul 27, 2026
6 checks passed
@FabianoEger
FabianoEger deleted the fix/sql-list-fields-typing branch July 27, 2026 14:15
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