Skip to content

Use factory constructors for enum parsing - #65

Merged
leoafarias merged 1 commit into
mainfrom
leoafarias/use-real-factory-constructors
Sep 18, 2026
Merged

leoafarias merged 1 commit into
mainfrom
leoafarias/use-real-factory-constructors

Conversation

@leoafarias

Copy link
Copy Markdown
Contributor

Summary

  • Declare graph-resolution and lifecycle-status selection as real enum factory constructors instead of static construction methods.
  • Preserve existing call syntax and behavior while making construction ownership explicit.

Validation

  • dart analyze --fatal-infos — passed
  • dart test test/graph_test.dart test/metadata_test.dart -r expanded — 30 tests passed
  • dart test -r expanded — 227 tests passed
  • (cd tool/release && dart analyze --fatal-infos && dart test -r expanded) — passed
  • dart run tool/ci/check_generated.dart — passed

@leoafarias
leoafarias merged commit 5c372e7 into main Sep 18, 2026
4 checks passed
@leoafarias
leoafarias deleted the leoafarias/use-real-factory-constructors branch September 18, 2026 21:43
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.

1 participant