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

Read method default implementation for requests only accepts a FilterRequest #149

Closed
alelom opened this issue Oct 15, 2019 · 0 comments · Fixed by #151
Closed

Read method default implementation for requests only accepts a FilterRequest #149

alelom opened this issue Oct 15, 2019 · 0 comments · Fixed by #151
Assignees
Labels
severity:medium Slows progress, but workaround is possible type:compliance Non-conforming to code guidelines

Comments

@alelom
Copy link
Member

alelom commented Oct 15, 2019

Broken rules:

The Read default implementation for requests only accepts FilterRequests. This is wrong and should accept IRequest instead.

This does not allow for correct implementation of IRequest as happens in e.g. Revit: BHoM/Revit_Toolkit#364

This chains with another issue: Pull does nothing if specified request is not a FilterRequest.

Suggestions to restore compliance:

Implement another Read overload with IRequest as paramter.

@alelom alelom added severity:critical No workaround exists. Essential to continue type:compliance Non-conforming to code guidelines labels Oct 15, 2019
@alelom alelom added this to the BHoM 3.0 β MVP milestone Oct 15, 2019
@alelom alelom self-assigned this Oct 15, 2019
@alelom alelom added severity:medium Slows progress, but workaround is possible and removed severity:critical No workaround exists. Essential to continue labels Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity:medium Slows progress, but workaround is possible type:compliance Non-conforming to code guidelines
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant