Skip to content

Change default :next_token to nil when using stub_responses #804

Description

@jkanywhere

Please change the default value of :next_token to nil when using stub_responses to provide a better default experience by avoiding apparent duplication of responses when using the Resource interface.

When I stub a describe_instances response to contain 1 ec2 instance, for example, it is confusing to get back two from Aws::Resource::EC2#instances.

Recommended by @trevorrowe
See jkanywhere/aws-ruby-sample@189dadf and aws-samples/aws-ruby-sample#3 for context.

If you point me at the correct class or file that handles this feature I am happy to try my hand at resolving this.

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.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions