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

Pull default behaviour when no Request is provided #124

Merged
merged 1 commit into from
Nov 14, 2019

Conversation

alelom
Copy link
Member

@alelom alelom commented Nov 1, 2019

Issues addressed by this PR

Closes #123

This is also meant to be a proposal for feedback.

Test files

https://burohappold.sharepoint.com/:f:/s/BHoM/EhQhh4zREZtEpKUe50S1kCwBIVemL-8ZGuUupaEaThDLjw?e=BXjd7m

Changelog

  • Folders tidy up. Added AdaptersActions folder with the overrided methods in it. Added CRUD parent folder.
  • Added Pull override to handle case where no Request is provided

Comment on lines +37 to +39
readresult.AddRange(ReadNodes());
readresult.AddRange(ReadBars());
readresult.AddRange(ReadFEMesh());
Copy link
Member Author

@alelom alelom Nov 1, 2019

Choose a reason for hiding this comment

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

I'd be also happy with the removal of these lines, and returning a "meaningful warning" only, if no Request provided.

@alelom alelom self-assigned this Nov 1, 2019
@alelom alelom added this to the BHoM 3.0 β MVP milestone Nov 1, 2019
Copy link
Contributor

@IsakNaslundBh IsakNaslundBh left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Meaningful error message if using Pull() without any Request has no default behaviour
2 participants