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

[wings] Remove convert_class_name_to_valkyrie_resource_class #3931

Merged
merged 1 commit into from
Sep 16, 2019

Conversation

no-reply
Copy link
Contributor

This was an early addition to Wings, and predates much of the query work. at
this point, objects round trip just fine without the special class casting
handling. For certain adapters (e.g. the memory adapter) the call to
internal_resource results in a NoMethodError on Object, so this seems like
a good time to remove the superfluous code.

Guidance for testing, such as acceptance criteria or new user interface behaviors:

  • This is a refactor/removal of dead code. No specific testing is required.

@samvera/hyrax-code-reviewers

@cjcolvar cjcolvar added the wings label Aug 28, 2019
elrayle
elrayle previously approved these changes Aug 29, 2019
Copy link
Contributor

@elrayle elrayle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. NOTE: The 2-5-5 tests failed. I've been seeing random failures. Rerunning the tests generally clears it up.

@VivianChu VivianChu self-requested a review August 29, 2019 16:04
@VivianChu
Copy link
Contributor

👍

@no-reply
Copy link
Contributor Author

no-reply commented Sep 4, 2019

@elrayle @VivianChu if you both approve of this PR, could one of you get in an approval?

VivianChu
VivianChu previously approved these changes Sep 4, 2019
This was an early addition to Wings, and predates much of the query work. at
this point, objects round trip just fine without the special class casting
handling. For certain adapters (e.g. the memory adapter) the call to
`internal_resource` results in a `NoMethodError` on `Object`, so this seems like
a good time to remove the superflouous code.
@no-reply
Copy link
Contributor Author

rebased once again.

@VivianChu VivianChu merged commit 0e68750 into master Sep 16, 2019
@VivianChu VivianChu deleted the remove-resolver branch September 16, 2019 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants