Skip to content

chore: preview spec migration to mix_generator on btwld/mix#918#54

Draft
tilucasoli wants to merge 1 commit into
mainfrom
tilucasoli/verify-remix-generators-pr918
Draft

chore: preview spec migration to mix_generator on btwld/mix#918#54
tilucasoli wants to merge 1 commit into
mainfrom
tilucasoli/verify-remix-generators-pr918

Conversation

@tilucasoli
Copy link
Copy Markdown
Collaborator

Description

Preview-only PR to show the team what remix looks like after migrating to the new mix_generator emitted by btwld/mix#918.

  • All 23 *_spec.dart classes drop extends Spec<FooSpec> with Diagnosticable, _$FooSpecMethods in favor of the new self-contained with _\$FooSpec mixin.
  • All 21 *.g.dart files are regenerated against PR #918's chore/code-generation-clean-up branch — the new mixin owns ==, hashCode, props, toString, toDiagnosticsNode, debugFillProperties, getDiff, etc. directly instead of inheriting from Spec.

Local verification: dart run build_runner build succeeds, flutter analyze reports no issues, and all 1722 tests pass when mix/mix_annotations/mix_generator are overridden to PR #918.

Related Issues

Depends on btwld/mix#918 — do not merge until that PR is published. packages/remix/build.yaml still references the now-removed mix_generator:spec / mix_generator:property builder ids and will need cleanup as a follow-up.


Checklist

  • My PR includes unit or integration tests for all changed/updated/fixed behaviors. (existing test suite covers, 1722/1722 pass)
  • I have updated or added relevant documentation (doc comments with `///`).
  • I am prepared to follow up on review comments in a timely manner.

Breaking Change

🤖 Generated with Claude Code

Migrates 23 spec classes from `extends Spec<FooSpec> with Diagnosticable,
_$FooSpecMethods` to `with _$FooSpec`, the new self-contained mixin
pattern emitted by mix_generator on btwld/mix#918. Regenerates all
`*.g.dart` files against that branch so the team can preview the diff.

Depends on btwld/mix#918 — do not merge until that PR is published.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@docs-page
Copy link
Copy Markdown

docs-page Bot commented May 25, 2026

To view this pull requests documentation preview, visit the following URL:

docs.page/btwld/remix~54

Documentation is deployed and generated using docs.page.

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