Skip to content
Snippets Groups Projects
Select Git revision
  • release-2025-05-15-with-patches protected
  • main default protected
  • release-2025-03-27-with-patches protected
  • release-2024-12-30-with-client-builder protected
  • release-2024-12-26-with-client-builder protected
  • release-2024-11-05-with-client-builder protected
  • release-2024-08-16-with-client-builder protected
  • release-2024-09-09-with-client-builder protected
  • release-2024-08-28-with-client-builder protected
  • release-2024-10-09-with-client-builder protected
  • sbuttgereit/expose_client_builder_with_hyper_1_0
  • release-2025-05-15
  • release-2025-05-09
  • release-2025-05-02
  • release-2025-04-23
  • release-2025-03-27
  • release-2025-03-25
  • release-2025-03-10
  • release-2025-03-04
  • release-2025-02-20
  • release-2025-02-12
  • release-2025-02-03
  • release-2025-01-28
  • release-2025-01-23
  • release-2025-01-17
  • release-2025-01-14
  • release-2024-12-30
  • release-2024-12-26
  • release-2024-12-16
  • release-2024-12-03
  • release-2024-11-05
31 results

kotlin

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Luca Palmieri authored
    * Draft of @range implementation for integer shapes
    
    * Green tests.
    
    * Fix serialization of constrained integers.
    
    * Fix tagger to include Integer simple shapes.
    Fix de/serialization codegen.
    
    * Add range trait to the entry about constraint traits in our changelog.
    
    * Bind a range-constrained integer to various HTTP parts to test our implementation.
    
    * Rename ConstrainedIntGeneratorTest to ConstrainedIntegerGeneratorTest for consistency.
    
    * Remove AsRef implementation.
    
    * Fix constraints models.
    
    * Fix conversion.
    
    * Use ReturnSymbolToParse to dry up.
    
    * Fix builder when constrained types should not be exposed.
    
    * Add customisation to unwrap constrained integers.
    
    * Getting closer - collections need to be handled differently to make everything fall into place.
    
    * Refactor `renderHeaders`
    
    * Fix constraints test.
    
    * Fix ebs.
    
    * Rename for clarity.
    
    * Remove unnecessary From implementation.
    
    * Rename `Size` variant to `Range`.
    
    * Remove stray comments.
    
    * Rename for clarity
    
    * Rename for consistency
    
    * Add test to guard against types for which we do not support range yet
    
    * DRY up branches and the relevant tests.
    
    * Fix header name.
    
    * Fix serialization bug for default values in headers.
    
    * Fix serialization issue for primitive headers.
    
    * Remove SetOfRangeInteger
    
    * Fix pubcrateconstrained unit test.
    
    * Remove duplication
    
    * Revert "Remove SetOfRangeInteger"
    
    This reverts commit f37a560bd0233ad65512c4916292f0f7f8c571e1.
    
    * Reintroduce `SetOfRangeInteger`, but keep them commented out.
    
    * Ignore leading whitespace.
    
    * Update codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/http/HttpBindingGenerator.kt
    
    Co-authored-by: default avatardavid-perez <d@vidp.dev>
    
    * Update codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/parse/JsonParserGenerator.kt
    
    Co-authored-by: default avatardavid-perez <d@vidp.dev>
    
    * Update codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/ValidateUnsupportedConstraints.kt
    
    Co-authored-by: default avatardavid-perez <d@vidp.dev>
    
    * Update codegen-server/src/test/kotlin/software/amazon/smithy/rust/codegen/server/smithy/generators/ConstrainedIntegerGeneratorTest.kt
    
    Co-authored-by: default avatardavid-perez <d@vidp.dev>
    
    * Unify with a single rustTemplate invocation.
    
    * Rename `Type` to `NumberType`
    
    * Update codegen-server/src/test/kotlin/software/amazon/smithy/rust/codegen/server/smithy/ConstrainedShapeSymbolProviderTest.kt
    
    Co-authored-by: default avatardavid-perez <d@vidp.dev>
    
    * Formatting issue.
    
    * Move and rename test helper.
    
    * Dry up the logic for default serialization.
    
    * Ooops, I swapped the two branches.
    
    * Add a wrapper block
    
    * Fix support detection.
    
    * Fix CHANGELOG.
    
    * Add (failing) protocol tests for @range on byte/integer/long.
    
    * Fix validation message.
    Fix test definitions.
    
    * Mark some tests as expected to fail.
    Rename service.
    
    * Use ValueExpression everywhere for more granular control of the ownership component.
    
    * Use the new enhanced module facilities
    
    * Fixes.
    
    * Fix formatting
    
    * Remove unnecessary when.
    
    * Update codegen-core/common-test-models/constraints.smithy
    
    Co-authored-by: default avatardavid-perez <d@vidp.dev>
    
    * Remove unused shapes.
    
    * Avoid mixing concerns in our test shapes for integer constraints.
    
    * Reuse the trait info machinery
    
    * Update stale comment
    
    * Fix unused attribute.
    
    * Update codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/serialize/JsonSerializerGenerator.kt
    
    Co-authored-by: default avatarZelda Hessler <zhessler@amazon.com>
    
    * Avoid unnecessary bindings by manipulating the serialization context directly in the customisations.
    
    * Avoid unnecessary bindings in header serialization by introducing and manipulating the header value serialization context directly in the customisations.
    
    * Add code examples.
    
    * Move `safeName` call into the if branch.
    
    Co-authored-by: default avatardavid-perez <d@vidp.dev>
    Co-authored-by: default avatarZelda Hessler <zhessler@amazon.com>
    ec9588b1
    History
    Name Last commit Last update
    ..