-
Notifications
You must be signed in to change notification settings - Fork 230
feat: Using the AtlasUserData class to demo save user data project COMPASS-9565 #7152
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
Draft
myang1220
wants to merge
42
commits into
main
Choose a base branch
from
use-atlas-user-data
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+349
−196
Draft
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
3f336ec
feat(save-user-data): create a user data abstract class
myang1220 ad5e416
Merge branch 'main' into user-data-interface
myang1220 78026a3
fix: rm defaults and add semaphore to FileUserData
myang1220 b24d748
merge remote branch back into local
myang1220 8413d43
Merge branch 'main' into user-data-interface
myang1220 dc38640
feat(save-user-data): push for help
myang1220 41abc96
feat(save-user-data): comment out nulls
myang1220 e90412e
feat(save-user-data): create a user data abstract class
myang1220 701adaf
fix: rm defaults and add semaphore to FileUserData
myang1220 daee65a
feat(save-user-data): push for help
myang1220 90573c7
feat(save-user-data): comment out nulls
myang1220 0e997ff
rebase main into branch
myang1220 5d39eb3
Merge branch 'main' of https://github.com/mongodb-js/compass into ext…
myang1220 5edf5e2
potentital org and group id retrieval
myang1220 729c6db
minor fixes
myang1220 055b898
unit testing
myang1220 fed4e96
fix package-lock.json merge conflict
myang1220 2058a32
typo
myang1220 296147a
package-lock.json
myang1220 d128447
merge origin back into branch
myang1220 18240da
fix: parse one by one in readAll
myang1220 31a8643
fix: change updateAttributes return type to boolean
myang1220 e88856f
stricter typing for type param and fix update tests
myang1220 3b8fc66
add getResourceUrl and change groupId to projectId
myang1220 7d42eef
merge main back into branch
myang1220 3c033fe
change wsBaseUrl to ccsBaseUrl in spec files
myang1220 ef94ff8
chore(user-data): remove redundant withStats methods
gribnoysup 3f8405a
fix(user-data): remove nonexistent exports
gribnoysup 7f07ddd
fix(my-queries-storage): adjust types to match the method behavior
gribnoysup e09d426
fix(saved-aggregations-queries): adjust test fixture
gribnoysup 04ba804
put data type in IUserData class
myang1220 cf510ce
Merge branch 'main' into extend-user-data
myang1220 73b2bd1
fix(user-data): add datatype to IUserData abstract class & tests
myang1220 51ab01e
fix: merge stats change to branch
myang1220 df135f3
fix(user-data): make create and update return type to be boolean, lik…
myang1220 0bb77b8
pull remote branch back into local
myang1220 f6efcd6
fix(compass-aggregations): fix method typing
myang1220 2c0de81
feat: building demo for saving user data project
myang1220 3eab096
path segment and method binding
myang1220 61265d6
working demo
myang1220 59e2a40
merge
nvs119 8e5d686
restore again
nvs119 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When does this return
undefined
? I kinda would've expected this to return a version ofReadAllResult
that either has a single item in the arrays or the properties are one item instead of an arrayThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identified that
readOne
in AtlasUserData should not be returningnull
when an error is found.readOne
inFileUserData
originally had a return type ofPromise<z.output<T> | undefined>
, so the abstract method should also have typeundefined
.