Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to specify the resource_name #6

Merged
merged 2 commits into from
Jun 8, 2018

Conversation

arsduo
Copy link
Owner

@arsduo arsduo commented Jun 8, 2018

If you want to load two different resources with the same model (for instance, when doing a sequencing operation requiring two of the same record), the resource_name field would be the same and the first resource would be clobbered by the second. This PR allows users to set the resource_name via an option so that load_resource can be used in cases like these.

@arsduo arsduo merged commit 034a818 into master Jun 8, 2018
@arsduo arsduo deleted the allow-custom-resource-names branch June 8, 2018 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant