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

refactor: Separate the control flow to handle the atlas::Field datatypes from application logic #81

Merged

Conversation

twsearle
Copy link
Collaborator

@twsearle twsearle commented Feb 28, 2024

Description

This refactor separates the control flow to handle the various atlas Field types from operations on the fields.

Thanks very much to @odlomax for explaining how to do this!

Issue(s) addressed

Resolves #80

Impact

None expected

Checklist

  • I have updated the unit tests to cover the change
  • New functions are documented briefly via Doxygen comments in the code
  • I have linted my code using cpplint
  • I have run the unit tests
  • I have run mo-bundle to check integration with the rest of JEDI and run the unit tests under all environments

Separate the control flow to handle the various atlas Field types from
the logic itself.
@twsearle twsearle self-assigned this Feb 28, 2024
@twsearle twsearle linked an issue Feb 28, 2024 that may be closed by this pull request
Copy link
Collaborator

@s-good s-good left a comment

Choose a reason for hiding this comment

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

Thanks - looks good to me.

Copy link

@odlomax odlomax left a comment

Choose a reason for hiding this comment

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

Happy to be of service!

@twsearle twsearle merged commit 6212866 into develop Feb 29, 2024
2 checks passed
@twsearle twsearle deleted the refactor/separate-field-type-control-from-function-call branch August 1, 2024 08:10
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.

Refactor out control logic to if/else/switch on atlas field types
3 participants