Child curations - backend.#321
Open
LindirQuenya wants to merge 84 commits intoFlashpointProject:developfrom
Open
Child curations - backend.#321LindirQuenya wants to merge 84 commits intoFlashpointProject:developfrom
LindirQuenya wants to merge 84 commits intoFlashpointProject:developfrom
Conversation
…children, fix a few typos, and a few small bugfixes.
I was getting meh performance with sqlite3, and I heard better-sqlite3 was faster. It seems to be so.
Pull Request Test Coverage Report for Build 2234249069
💛 - Coveralls |
Member
Author
|
Things I currently know that I need to fix:
|
That is: I hope so. I haven't tested curation yet, but I *think* this will fix some portions of it.
Previously, the blank platform strings of children were included in the results of findPlatforms().
Also make some == into ===, and make the message bar appear in when browsing.
Member
Author
|
In case you're wondering about the point of b49d9c1: in my testing, it looked like |
Member
Author
|
|
This reverts commit c64d1f7.
Remove some temporary statements, and add a relation-loading statement for the tags of child games.
Previously, the param was marked as optional. However, failure to supply it resulted in an error (column not found).
Switch the comparison for keyset pagination when orderBy is different.
Don't open a new database connection if one already exists, and don't close the connection at the end of testing.
Also: add some jsdoc and a possible todo, and remove an unneeded selected colum.
Also switch filtering funcs to === from ==.
Also clean up some TODOs.
Implement the child edit function and turn on cascades for children. Set the default child modified and added dates to the unix epoch. Previously, the all-zeroes date was resulting in a null datetime object.
Also remove some todos.
Member
Author
|
That should bring it up to date with develop. The GameManager tests are in the wrong place though, one moment. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The backend changes for #245.
Also, switch toNope,better-sqlite3: performance was suffering without it, and I can't see a reason to stick with a slower version of the same functionality.better-sqlite3doesn't do migrations correctly. It's been reverted.For the testing: I've begun with rewriting the tests for
GameManager.ts. I'm not too clear on how to test things beyond that... we'll see.