Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aws smithy version #1419

Merged
merged 7 commits into from
Feb 27, 2024

Conversation

miguel-vila
Copy link
Contributor

PR Checklist (not all items are relevant to all PRs)

  • Added unit-tests (for runtime code)
  • Added bootstrapped code + smoke tests (when the rendering logic is modified)
  • Added build-plugins integration tests (when reflection loading is required at codegen-time)
  • Added alloy compliance tests (when simpleRestJson protocol behaviour is expanded/updated)
  • Updated dynamic module to match generated-code behaviour
  • Added documentation
  • Updated changelog

@@ -159,7 +159,6 @@ object ErrorMessageTraitValidatorSpec extends FunSuite {
.assemble()

val expected = List(
noErrorTrait(union),
Copy link
Contributor Author

@miguel-vila miguel-vila Feb 26, 2024

Choose a reason for hiding this comment

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

question: not sure what recent changes made this test fail because of this. Maybe these 2 Smithy validations have been separated and are not reported in parallel: traits validations and custom validations

edit: maybe it comes from this release: https://github.com/smithy-lang/smithy/releases/tag/1.44.0 , seems it might be this: smithy-lang/smithy#2098

Copy link
Contributor

Choose a reason for hiding this comment

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

I think that makes sense 👍

@@ -20,7 +20,9 @@ sealed abstract class EnumResult(_value: String, _name: String, _intValue: Int,
object EnumResult extends Enumeration[EnumResult] with ShapeTag.Companion[EnumResult] {
val id: ShapeId = ShapeId("smithy4s.example", "EnumResult")

val hints: Hints = Hints.empty
val hints: Hints = Hints(
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's prevent the rendering the Box trait altogether.

@Baccata
Copy link
Contributor

Baccata commented Feb 27, 2024

@miguel-vila, you need to re-run sbt bootstrapped/compile to regenerate the checked-in code

@Baccata Baccata marked this pull request as ready for review February 27, 2024 14:02
@Baccata Baccata merged commit 9f2dbcb into disneystreaming:series/0.18 Feb 27, 2024
11 checks passed
@miguel-vila miguel-vila deleted the update-smithy branch February 27, 2024 14:08
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.

2 participants