Skip to content
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

Request for comments #10

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Request for comments #10

wants to merge 15 commits into from

Conversation

kertechs
Copy link

Hi, Thank you for this challenge

I didn't code for a long time and wanted to get back at it , more especially by diving into symfony
It really helped me to go from theory to a bit more practical with Symfony

I'd love to have some feedback if you got some time ...

Best regards

Nassim

Removed Arena Entity as it will be a service not an Entity as per specifications
Migrated schema changes
Minor correction in KnightControllerTest (fipped arguments for signature consistency)
…f annotations. Since SF4.4 is now mature upgrading from 4.3 to 4.4 should not be a pb
Changed the class name and asjusted some types for class Human (now AbstractHuman) : class name shouldmatch filename
Added basic "CRUD" for Knights entity (add / fetch / fetchAll)
Added control on requests content type and datas
Added symfony serializer to handle easily json content
Had to change the wy we retrieve the request. In test env, the kernel is not booted the same , we don't get the headers in __construct => injecting Response in methods solves the problem
Adjusted controller and entities to match tests output expectations
Modified a test to match the Knights controller output for fetchAll (I prefer to keep the data node in the output structure)
Status : all Knights tests are passing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant