aws / aws-sdk-ruby-record

Official repository for the aws-record gem, an abstraction for Amazon DynamoDB.
Apache License 2.0
318 stars 41 forks source link

Support inheritance #124

Closed jterapin closed 1 year ago

jterapin commented 1 year ago

Issue #, if available: https://github.com/aws/aws-sdk-ruby-record/issues/80

Description of changes: Aws::Record models store information on class instance variables which are NOT inherited when a class is extended - this means that if a user extends an Aws::Record model class, none of the attributes/configuration will be inherited. This PR will support inheritance and allow models to be extended.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.