Category : entity-relationship

My problem is the security implementation of the entities when consumed through GraphQL, the queries are perfect, they return the necessary data, but the problem occurs when a query is generated and the many-to-one relationship is limited to having a role "ROLE_ADMIN", the query returns the data even when the user has the role "IS_AUTHENTICATED_ANONYMOUSLY" ..

Read more

creating a ManyToMany relation in a doctrine entity, will result in rendering as a multiple select or checkboxlist, depending on the configuration. I’m breaking my head over creating this while having the same relationship, but with OneToMany / ManyToOne relations. Consider Product > ProductColors < Color. In Form type we define the ProductType with productColors ..

Read more