Skip to content

all: added support for ydb in codegen#10

Merged
kprokopenko merged 13 commits intoydb-platform:ydb-developfrom
LostImagin4tion:LostImagin4tion/ydb-codegen-support
Feb 4, 2026
Merged

all: added support for ydb in codegen#10
kprokopenko merged 13 commits intoydb-platform:ydb-developfrom
LostImagin4tion:LostImagin4tion/ydb-codegen-support

Conversation

@LostImagin4tion
Copy link
Collaborator

No description provided.

@LostImagin4tion LostImagin4tion force-pushed the LostImagin4tion/ydb-codegen-support branch from fafba72 to 621e58e Compare January 16, 2026 14:21
@LostImagin4tion LostImagin4tion changed the title added support for ydb in codegen all: added support for ydb in codegen Jan 20, 2026
@LostImagin4tion LostImagin4tion force-pushed the LostImagin4tion/ydb-codegen-support branch 3 times, most recently from b3b14ce to a8b277a Compare January 25, 2026 15:04
hooks []Hook
mutation *UserMutation
hooks []Hook
retryConfig sqlgraph.RetryConfig
Copy link
Collaborator

Choose a reason for hiding this comment

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

Напишу здесь, но касается и остальных примеров.

Правильно я понял, что retryConfig и ретраи будут генерироваться для всех диалектов, а не только для YDB? Если так, то это снижает шансы на мерж в апстрим до нуля. Либо надо делать отдельным PR в апстрим.

Copy link
Collaborator Author

@LostImagin4tion LostImagin4tion Jan 28, 2026

Choose a reason for hiding this comment

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

Правильно я понял, что retryConfig и ретраи будут генерироваться для всех диалектов

Да, все так. Но у ent-а есть механизм фичетогглов, который влияет на кодогенерацию.

Сначала я думал его использовать, но потом подумал, что это может быть странно. Потому что интерфейсы для ретраев на уровне драйвера этим фичетогглом не закрыть. То есть получается, не полностью закрываем функциональность

Мб надо подумать, как сделать получше

Copy link
Collaborator

@kprokopenko kprokopenko Jan 28, 2026

Choose a reason for hiding this comment

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

Мб надо подумать, как сделать получше

ага, давай ещё раз подумаем, прежде чем мержить

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

готово, закрыл кодогенерацию фичетогглом

@LostImagin4tion LostImagin4tion force-pushed the LostImagin4tion/ydb-codegen-support branch from a8b277a to 5973afa Compare February 1, 2026 20:03
@LostImagin4tion LostImagin4tion force-pushed the LostImagin4tion/ydb-codegen-support branch from 5973afa to 85cf676 Compare February 1, 2026 20:16
@kprokopenko kprokopenko merged commit b1af6b1 into ydb-platform:ydb-develop Feb 4, 2026
6 checks passed
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