Skip to content

_codegen: modernize#1890

Merged
dolmen merged 2 commits into
masterfrom
dolmen/codegen-modernize
May 13, 2026
Merged

_codegen: modernize#1890
dolmen merged 2 commits into
masterfrom
dolmen/codegen-modernize

Conversation

@dolmen
Copy link
Copy Markdown
Collaborator

@dolmen dolmen commented May 13, 2026

Summary

Modernize the code generator: remove use of deprecated APIs, use strings.Builder.

Changes

Motivation

Use modern APIs of the go/types era (go 1.18+).

Related issues

@dolmen dolmen requested a review from ccoVeille May 13, 2026 10:16
@dolmen dolmen self-assigned this May 13, 2026
@dolmen dolmen added internal/codegen Change related to internal code generation internal/cleanup Internal change to ease maintenance without external impact labels May 13, 2026
@dolmen dolmen force-pushed the dolmen/codegen-modernize branch from aa7a601 to 0389302 Compare May 13, 2026 10:18
dolmen added 2 commits May 13, 2026 15:47
Modernize the code generator for the go/types era:
- enable go/parser.SkipObjectResolution for reduced resource usage
- replace use of deprecated functions which use object resolution
@dolmen dolmen force-pushed the dolmen/codegen-modernize branch from c67c068 to 098f8d7 Compare May 13, 2026 13:47
@dolmen dolmen merged commit dc20f41 into master May 13, 2026
22 checks passed
@dolmen dolmen deleted the dolmen/codegen-modernize branch May 14, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal/cleanup Internal change to ease maintenance without external impact internal/codegen Change related to internal code generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants