Skip to content

Comments

Pass ParsedMetadata to SeviceSchema.scaffold()#330

Merged
daweifeng-replit merged 3 commits intomainfrom
dawei/chore-service-schema-scaffold
Jun 18, 2025
Merged

Pass ParsedMetadata to SeviceSchema.scaffold()#330
daweifeng-replit merged 3 commits intomainfrom
dawei/chore-service-schema-scaffold

Conversation

@daweifeng-replit
Copy link
Contributor

@daweifeng-replit daweifeng-replit commented Jun 17, 2025

Why

I should have pass ParsedMetadata to SeviceSchema.scaffold(). Otherwise, the ServiceScaffold always sets ParsedMetadata as object by default

What changed

  • pass ParsedMetadata to SeviceSchema.scaffold()
  • update tests

Versioning

  • Breaking protocol change
  • Breaking ts/js API change

@daweifeng-replit daweifeng-replit requested a review from a team as a code owner June 17, 2025 23:25
@daweifeng-replit daweifeng-replit requested review from jackyzha0 and removed request for a team June 17, 2025 23:25
@daweifeng-replit daweifeng-replit added bug Something isn't working patch Bug fixes, small improvements, or maintenance that don't change the API (e.g., 1.2.3 → 1.2.4) labels Jun 17, 2025
@daweifeng-replit daweifeng-replit requested review from jackyzha0 and masad-frost and removed request for jackyzha0 June 17, 2025 23:25
Copy link
Member

@masad-frost masad-frost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's precisely why I think we should be passing around IMO, we wouldn't miss these things

Copy link
Member

@masad-frost masad-frost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unblocking for now, but if you have a few minutes to refactor it would be nice

@daweifeng-replit
Copy link
Contributor Author

Unblocking for now, but if you have a few minutes to refactor it would be nice

Agree! I will refactor it in a separate PR.

@daweifeng-replit daweifeng-replit merged commit 483f884 into main Jun 18, 2025
9 checks passed
@daweifeng-replit daweifeng-replit deleted the dawei/chore-service-schema-scaffold branch June 18, 2025 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working patch Bug fixes, small improvements, or maintenance that don't change the API (e.g., 1.2.3 → 1.2.4)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants