Skip to content

Column name aliases casing is not preserved on generated types #109

@xperiandri

Description

@xperiandri

Having

SELECT
    used.customer_id AS CustomerId
   ,CASE WHEN configured.customer_id IS NULL THEN 0 ELSE 1 END AS IsConfigured
FROM (SELECT DISTINCT tenant_id FROM a) AS used
LEFT JOIN (SELECT DISTINCT customer_id FROM c) AS configured
ON used.customer_id = configured.customer_id

I get a row with customerid and isconfigured properties instead of CustomerId and IsConfigured

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions