Skip to content

Support type overrides for parameter structs #671

Open
@kyleconroy

Description

@kyleconroy

Given the following tables and queries, type overrides should apply to the inputs of GetFoo and GetBar.

CREATE TABLE foo (id bigserial not null);
CREATE TABLE bar (id bigserial not null);

-- name: GetFoo :one
SELECT * FROM foo WHERE id = $1;

-- name: GetBar :one
SELECT * FROM bar WHERE id = $1;

Originally posted by @tv42 in #607

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions