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

Ignore meta on create #15

Merged
merged 2 commits into from
Apr 20, 2022
Merged

Conversation

AbeerKhakwani
Copy link
Contributor

@AbeerKhakwani AbeerKhakwani commented Apr 19, 2022

After running into an issue while setting up Azure AD, as meta was being sent as a hash and not a Meta object, we added a simple check and also added bin so that setting up pg and running rspec and other tasks is easier.

This adds in the required files to run tasks like rspec and db:migrate.
If a meta attribute is passed in on create or update instead of being ignored
it is set as an attribute on the resource, the as_json function then fails
to parse this because it is a hash instead of an object.
@pond
Copy link
Member

pond commented Apr 20, 2022

That's a nice fix. Thanks!

@pond pond merged commit 1c6245c into RIPAGlobal:main Apr 20, 2022
@pond
Copy link
Member

pond commented Apr 20, 2022

Version 2.0.1 incorporating your fix is now available via RubyGems.

@AbeerKhakwani AbeerKhakwani deleted the ignore-meta-on-create branch April 20, 2022 15:09
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

2 participants