Skip to content

Data.TryQueryAsync(), remaining metrics updates#156

Merged
nblumhardt merged 7 commits into
datalust:devfrom
nblumhardt:report-query-syntax-errors
Jun 3, 2026
Merged

Data.TryQueryAsync(), remaining metrics updates#156
nblumhardt merged 7 commits into
datalust:devfrom
nblumhardt:report-query-syntax-errors

Conversation

@nblumhardt
Copy link
Copy Markdown
Member

The /api/data endpoint returns 400 on syntax errors; this prevents interactive clients properly reporting full error information.

@nblumhardt nblumhardt marked this pull request as ready for review June 3, 2026 01:54
}

// Callers are expected to derive 400 error information from the response stream. All other result status codes throw.
internal async Task<TResponse> TryPostAsync<TEntity, TResponse>(ILinked entity, string link, TEntity content, IDictionary<string, object> parameters = null, CancellationToken cancellationToken = default)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Keeping these internal until it's clear there's a general pattern worth exposing.

…binary breaking change, but maintains API compatibility
@nblumhardt
Copy link
Copy Markdown
Member Author

Added one more changeset, we use "SQL query" historically to mean "Seq Query Language Query", but this gets confusing. I've renamed the types and members to just Query; we'll need to do API-side work to go further than this.

@nblumhardt nblumhardt merged commit 8a1c967 into datalust:dev Jun 3, 2026
1 check 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