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

Add method to set admin meta to DAO #700

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

MrCreosote
Copy link
Member

... and alter all the methods that touch object information to copy or return it correctly.

Ideally we would've:

  • Made some type of field manager so mongo field lists aren't respecified all over the place
  • Added less integration-y tests for the altered methods in MongoWorkspaceDBTest, rather than jamming tests into WorkspaceTest

However, that would have added several days to this project which we don't have.

... and alter all the methods that touch object information to copy or
return it correctly.

Ideally we would've:
* Made some type of field manager so mongo field lists aren't
respecified all over the place
* Added less integration-y tests for the altered methods in
MongoWorkspaceDBTest, rather than jamming tests into WorkspaceTest

However, that would have added several days to this project which we
don't have.
@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #700 (5dd0d33) into develop (42ae25c) will increase coverage by 0.04%.
Report is 10 commits behind head on develop.
The diff coverage is 96.29%.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #700      +/-   ##
=============================================
+ Coverage      87.47%   87.52%   +0.04%     
- Complexity      5222     5228       +6     
=============================================
  Files            224      224              
  Lines          17344    17385      +41     
  Branches        2560     2561       +1     
=============================================
+ Hits           15172    15216      +44     
  Misses          1706     1706              
+ Partials         466      463       -3     

Fields.WS_META,
Fields.WS_MODDATE);
} catch (NoSuchObjectException e) {
throw new RuntimeException("You divided by zero, didn't you, you absolute muppet", e);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ahahaha

Comment on lines +132 to +134
* UPDATE 2023/10/20: 9k lines long, let's see if we can get it to 10k, ok gang?!
* If we work really hard and give it our all, we can make a difference today!
* See, that's an extra line right there! And so is this, yay!
Copy link
Collaborator

Choose a reason for hiding this comment

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

🎉

@MrCreosote MrCreosote merged commit 19ec7c0 into kbase:develop Oct 23, 2023
10 checks passed
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.

2 participants