Implement backend cheat validation#155
Conversation
the-only-queen-anna
left a comment
There was a problem hiding this comment.
Grundsätzlich würde ich sagen, das passt so, ich hab dir ein paar Vorschläge noch kommentiert, eventuell findest du ja was davon sinnvoll. Besonders das Logik in den Service verschieben wäre glaub ich besser.
the-only-queen-anna
left a comment
There was a problem hiding this comment.
Bitte die Sonar issues noch beheben + siehe Kommentare, aber meiner Meinung nach schon fast fertig, danke :)
|
Ich glaube du musst noch die Migration adden für die beiden neuen Spalten, ich bekomme diesen Fehler beim Starten: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [blue_team_cheat_used] in table [game_state] |
|
Bekomme jetzt noch diesen Fehler, keine Ahnung ob das noch ein lokales Problem ist oder ob du das auch bekommst: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Validate failed: Migrations have failed validation |
…2-Codenames/Backend into feature/cheat-validation
|
the-only-queen-anna
left a comment
There was a problem hiding this comment.
LGTM, funktioniert jetzt in Kombination mit der App alles. Am besten beides gleichzeitig mergen, damit dev wieder ingesamt miteinander funktioniert



Overview
Implemented the backend logic for the cheat functionality.
Features
Validation Rules
Closes #123