-
Notifications
You must be signed in to change notification settings - Fork 2
Issue #110: update book tutorial #112
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
Conversation
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.
To be continued...
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.
-
In
ReleaseDateInput
, replace:
'message' => sprintf(Message::INVALID_VALUE, 'releaseDate'),
with:
'message' => Message::INVALID_VALUE,
and removeuse function sprintf;
. -
The migrations diff command is outdated, replace it with:
php ./vendor/bin/doctrine-migrations diff
- The path mentioned in this sentence has changed in
6.0
:
This will check for differences between your entities and database structure and create migration files if necessary, in
data/doctrine/migrations
.
Version 6.0
stores migrations in the Core module under the following path:
src/Core/src/App/src/Migration
- The migrations run command should also be updated:
php ./vendor/bin/doctrine-migrations migrate
-
Rename across the document
GetBookHandler
toGetBookResourceHandler
-
Rename across the document
PostBookHandler
toPostBookResourceHandler
so that they follow our naming convention.
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.
After this, these steps will have to be tested in version 6.0
of Dotkernel API.
Signed-off-by: horea <horea@rospace.com>
Signed-off-by: horea <horea@rospace.com>
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.
- Format the contents of Book->getArrayCopy
- Replace the
To retrieve a book use:
section with:
To retrieve a book, curl
one of the links found in the output of the list books command, under _embedded
. books
. * . _links
. self
. href
Signed-off-by: horea <horea@rospace.com>
Signed-off-by: horea <horea@rospace.com>
Signed-off-by: horea <horea@rospace.com>
Signed-off-by: Howriq <63609103+Howriq@users.noreply.github.com>
Signed-off-by: Alex Karajos <alex.merlin.1985@gmail.com>
Signed-off-by: Alex Karajos <alex.merlin.1985@gmail.com>
Signed-off-by: Alex Karajos <alex.merlin.1985@gmail.com>
No description provided.