Skip to content

Error when using numeric_set_attr #162

Description

@normelton

Describe the feature

When creating an attribute with numeric_set_attr, I get the following error:

/usr/local/bundle/gems/aws-record-2.14.0/lib/aws-record/record/attributes.rb:437:in 'BasicObject#initialize': wrong number of arguments (given 1, expected 0) (ArgumentError)
attr(name, Marshalers::NumericSetMarshaler.new(opts), opts)

It looks like the initializer for Marshalers::NumericSetMarshaler is not properly defined. I'll submit a pull request.

Use Case

n/a

Proposed Solution

I will submit a PR

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

aws-sdk-ruby-record version used

2.15.2

Environment details (OS name and version, etc.)

Linux

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions