Skip to content

chore: Use Any type for cross-module protos#312

Merged
dnys1 merged 1 commit intomainfrom
04-10-chore_use_any_type_for_cross-module_protos
Apr 11, 2025
Merged

chore: Use Any type for cross-module protos#312
dnys1 merged 1 commit intomainfrom
04-10-chore_use_any_type_for_cross-module_protos

Conversation

@dnys1
Copy link
Member

@dnys1 dnys1 commented Apr 11, 2025

Directly using AST protos from Celest Cloud protos means juggling two separate Dart types since Dart's protoc plugin is not module aware like other languages. There is also an AIP lint which is violated doing this. Instead, use the Any type which will allow separate versioning and publishing of AST protos and Cloud protos.

Also cleans up a bunch of unused proto files from package:celest_cloud.

Copy link
Member Author

dnys1 commented Apr 11, 2025

@dnys1 dnys1 force-pushed the 04-10-chore_use_any_type_for_cross-module_protos branch from 3440c82 to 5d4cbdc Compare April 11, 2025 00:40
Copy link
Member Author

dnys1 commented Apr 11, 2025

Merge activity

  • Apr 10, 6:08 PM PDT: A user started a stack merge that includes this pull request via Graphite.
  • Apr 10, 6:16 PM PDT: Graphite rebased this pull request as part of a merge.
  • Apr 10, 6:17 PM PDT: A user merged this pull request with Graphite.

@dnys1 dnys1 changed the base branch from 04-10-fix_cloud_auth_correctly_route_users_me_ to graphite-base/312 April 11, 2025 01:12
@dnys1 dnys1 changed the base branch from graphite-base/312 to main April 11, 2025 01:14
Directly using AST protos from Celest Cloud protos means juggling two separate Dart types since Dart's protoc plugin is not module aware like other languages. There is also an AIP [lint](https://linter.aip.dev/215/foreign-type-reference) which is violated doing this. Instead, use the Any type which will allow separate versioning and publishing of AST protos and Cloud protos.
@dnys1 dnys1 force-pushed the 04-10-chore_use_any_type_for_cross-module_protos branch from 5d4cbdc to 57b9da6 Compare April 11, 2025 01:15
@dnys1 dnys1 merged commit a712e28 into main Apr 11, 2025
10 checks passed
@dnys1 dnys1 deleted the 04-10-chore_use_any_type_for_cross-module_protos branch April 11, 2025 01:17
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