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

feat(typedsql): support scalar list in @param docs #4984

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Weakky
Copy link
Contributor

@Weakky Weakky commented Aug 23, 2024

Overview

Adds support for -- @param {Type[]} to override a param type to a scalar list.

Copy link

codspeed-hq bot commented Aug 23, 2024

CodSpeed Performance Report

Merging #4984 will not alter performance

Comparing feat/typed-sql-list-param (808e90b) with main (8a3982b)

Summary

✅ 11 untouched benchmarks

Copy link
Contributor

github-actions bot commented Aug 23, 2024

WASM Query Engine file Size

Engine This PR Base branch Diff
Postgres 2.063MiB 2.063MiB 0.000B
Postgres (gzip) 823.739KiB 823.736KiB 3.000B
Mysql 2.033MiB 2.033MiB 0.000B
Mysql (gzip) 811.287KiB 811.287KiB 0.000B
Sqlite 1.924MiB 1.924MiB 0.000B
Sqlite (gzip) 768.296KiB 768.294KiB 2.000B

enum_names
.iter()
.any(|enum_name| *enum_name == typ.inner())
.then(|| ParsedParamType::Enum(typ.inner()))
Copy link
Member

Choose a reason for hiding this comment

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

I think this branch needs list handling as well?

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