-
Notifications
You must be signed in to change notification settings - Fork 18
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
Implement DataStores v2 #23
base: master
Are you sure you want to change the base?
Conversation
I'm currently stuck on finding a good way to make this change compatible with JSON exporting/importing. Currently I'm injecting metadata to exported JSON as the Maybe it'd be better to return a tuple from |
@@ -445,7 +445,7 @@ return function() | |||
|
|||
end) | |||
|
|||
it("should not contain empty datastore names", function() | |||
itSKIP("should not contain empty datastore names", function() -- NOTE: Test failing, skipped |
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.
Interesting, are all these tests failing because of the added changes, or were they failing before?
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.
They were failing before making any changes. I might not have set up my fork correctly (maybe I messed up something w/submodules?)
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.
I just did a fresh clone of the repository on my end, submodule initialized properly & everything, and the tests failed for me as well.
This PR implements DataStores v2 APIs. Resolves #22
Some tests are disabled in this branch as they were failing when I forked.
Changes:
MockDataStoreService:GetAsync
andMockDataStoreService:SetAsync
with corresponding testsUtils.importPairsFromTable
to inject metadataMockDataStoreService:ExportToJSON
to inject metadata