-
Notifications
You must be signed in to change notification settings - Fork 1
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
64 backend refining database connection #112
Merged
Niatsuna
merged 22 commits into
development
from
64-backend-refining-database-connection
Sep 5, 2023
Merged
Changes from 20 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
8644a73
Cascading Deletion
Niatsuna 7c2c16b
Remove unnecessary import
Niatsuna 8dca9d2
Adjust LogController
Niatsuna be49322
Adjust POIController
Niatsuna 74b5f21
Adjust TrackController
Niatsuna 0d03fe2
Adjust TrackerController
Niatsuna f0d3f2b
Adjust UserController
Niatsuna 635a330
Adjust VehicleController
Niatsuna 059e432
Removed unnecessary imports & ensured formatting
Niatsuna 84c27a3
Add limit field for LogController.getAll()
Niatsuna d17161f
Merge branch 'development' of github.com:kieler/RailTrail into 64-bac…
Niatsuna 8b5869a
Adjust POIController
Niatsuna 906858b
Adjust removal operation for all controller
Niatsuna ff589f7
Adjust limit to undefined
Niatsuna 896c1ba
Fix typos
Niatsuna e5513ee
Adjust database calls for obj deconstruction
Niatsuna d7d46cb
Fix comment & icon uniqueness
Niatsuna dd4db28
Merge branch 'development' of github.com:kieler/RailTrail into 64-bac…
Niatsuna 1fe76b7
Fixed merge conflicts / changes
Niatsuna decda6d
Fixed format mishaps
Niatsuna d8d37d9
Fix eslint errors
NicoBiernat 58b4627
Merge branch 'development' of github.com:kieler/RailTrail into 64-bac…
Niatsuna 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 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 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 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 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 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 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 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.
Can't we use the casted request body and pass it directly to the
saveType
function?Maybe something like this?
Or do we have to use the
Prisma.POITypeCreateInput
type and this is a magical case where both types line up?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 double checked this: It is indeed possible!
In my first iteration for this branch I just changed the database calls in the routes and services so that the methods are still working like intended but we can change it here to parse the
poiTypeInput
directly