Skip to content

Error when using numeric_set_attr #162

Closed

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

  1. added
    feature-requestA feature should be added or improved.
    needs-triageThis issue or PR still needs to be triaged.
    on Sep 19, 2026
  2. bhoradc commented on Sep 28, 2026

    @bhoradc
    Contributor

    Hi @normelton,

    Thanks for reporting the issue and submitting a PR. I've left a comment on the PR, let us know if you have any further queries.

    Note: changing the label from feature-request to bug.

  3. added
    bugThis issue is a bug.
    response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.
    p2This is a standard priority issue
    and removed
    feature-requestA feature should be added or improved.
    needs-triageThis issue or PR still needs to be triaged.
    response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.
    on Sep 28, 2026
  4. bhoradc commented on Oct 2, 2026

    @bhoradc
    Contributor

    Thanks again @normelton, the fix shipped in aws-record gem v2.15.3. Closing this out.

  5. github-actions commented on Oct 2, 2026

    @github-actions

    This issue is now closed. Comments on closed issues are hard for our team to see.
    If you need more assistance, please open a new issue that references this one.

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

    bugThis issue is a bug.p2This is a standard priority issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions