Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(cmd/gf): add typeMapping and fieldMapping feature support for command gf gen genpbentity#3970

Merged
gqcn merged 1 commit intogogf:masterfrom
zishang520:feat/genpbentity
Nov 27, 2024
Merged

feat(cmd/gf): add typeMapping and fieldMapping feature support for command gf gen genpbentity#3970
gqcn merged 1 commit intogogf:masterfrom
zishang520:feat/genpbentity

Conversation

@zishang520
Copy link
Contributor

  • Introduced typeMapping to map database types to protobuf types.
  • Added fieldMapping for customizable field name conversion.

fixes #3685

- Introduced `typeMapping` to map database types to protobuf types.
- Added `fieldMapping` for customizable field name conversion.

fixes gogf#3685
@gqcn
Copy link
Member

gqcn commented Nov 27, 2024

@zishang520 It's aaaaaaaaaaaaawesome!👍👍👍👍

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@zishang520 It's aaaaaaaaaaaaaawesome!👍👍👍👍

@gqcn gqcn changed the title feat(cmd/gf): add typeMapping and fieldMapping support in genpbentity feat(cmd/gf): add typeMapping and fieldMapping feature support in command gf gen genpbentity Nov 27, 2024
@gqcn gqcn changed the title feat(cmd/gf): add typeMapping and fieldMapping feature support in command gf gen genpbentity feat(cmd/gf): add typeMapping and fieldMapping feature support for command gf gen genpbentity Nov 27, 2024
@gqcn gqcn merged commit 5521d76 into gogf:master Nov 27, 2024
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.

cmd/gf/genpbentity: For database fields of type json or jsonb, I want to support exporting them as google.protobuf.Value type

3 participants