Skip to content

Fix generated API client build and stop committing dev IPs #286

@PianoNic

Description

@PianoNic

The committed Dart client did not compile — apigen:build ran build_runner build without --delete-conflicting-outputs, leaving stale .g.dart (e.g. _$AppDto.authority typed String? vs String). It went unnoticed because flutter analyze excludes lib/api. Regenerate the client cleanly, add the flag, and replace the hardcoded dev IP in oidc_config.dart/apigen with a --dart-define override (default localhost) so no machine IP is committed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions