Skip to content

Use interface types for Go discriminators #78

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

Closed
wants to merge 13 commits into from

Conversation

ryanatallah
Copy link

Pulls in #68

AdamLeyshon and others added 13 commits July 12, 2021 22:33
…tructs.

This allows us to additional `use` statements or `derive` macros on generated structs.

`rustCustomUse` is a string of use statments separated by `;`
It supports single and multi-import statements.
For example: `serde::{Deserialize, Serialize}` or `serde::Serialize` are both valid.

`rustCustomUse` is a string of derive identifers separated by `,`
For example: `FromSqlRow,AsExpression,Debug,Default`
Struct fields should be snake_case, but they were accidentaly set to
camelCase.
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.

4 participants