DanielB

Results 12 issues of DanielB

### Issue https://github.com/awslabs/smithy/issues/1170 ### Description This change adds support for multiple values in the x-amzn-errortype header. The reason for this is that API-Gateway always adds its own x-amzn-errortype header on...

See https://github.com/aws/aws-sdk-js-v3/pull/3852 This is not finished code but is here to provide a concrete example to be referenced from PR 3852.

### Describe the feature The java feature is documented [here](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/metrics.html). The functionality is described in [this](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/metrics.html#what-information-is-collected) section. The request is to support the same for the go sdk so that...

feature-request
p2
queued

The [StructureGenerator](https://github.com/aws/smithy-go/blob/main/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/StructureGenerator.java) creates input and output types for smithy actions. Unlike in other languages, the fields in the generated types are [capitalized](https://github.com/aws/smithy-go/blob/c37281be483f44778cb47a1f153978c70a36fce1/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java#L230). This is done because they need to be...

Alias type [name](https://github.com/aws/smithy-go/blob/a6145d19bbc17a08034805a2d5ab250d138edb13/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java#L34) hides interface function [name](https://github.com/aws/smithy-go/blob/fdab9986feb625c891ab6aa6721f9fceeab990db/document/document.go#L79). This led me down an interesting exploration of go and how a field can hide a function given by an anonymous struct field....

guidance

https://github.com/Stranger6667/jsonschema-rs/issues/397

The logic for multipleOf compares the remainder of a division with the f64 EPSILON constant to decide if a number is a multiple or not. This approach doesn't make sense....

```rust let a = BigDecimal::from_str("1e99999999999999").unwrap(); let zero = BigDecimal::zero(); let bool = a == zero; ``` I haven't spent a lot of time looking into what's happening here, but it...

Is this intentional? I think it'd be an improvement to avoid panics in display, and simply use a different display format for numbers that can't be displayed with the standard...

bug

`let i: i32 = serde_json::from_str("1e1").unwrap();` results in "invalid type: floating point `10`, expected i32" 10, however, is a valid value accurately representable as an i32. Is this intentional? JSON is...