You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I integrated your CsnUser Module in my application; I have a Customer Entity which has a OneToOne association with CsnUser Entity. I would like to show properties username and role inside dropdown option using just annotation. I figured out I could add a method __ToString() to CsnUser Class that returns custom string and add annotation @annotation\Options({"target_class":"CsnUser\Entity\Role","property": "" }) to my Customer Class but I would prefer not to alter CsnUser Module code.
Do you have any suggestion to obtain same pourpose without alternig original code?
Thank you very much for helping.
Best regards.
The text was updated successfully, but these errors were encountered:
Hello, I integrated your CsnUser Module in my application; I have a Customer Entity which has a OneToOne association with CsnUser Entity. I would like to show properties username and role inside dropdown option using just annotation. I figured out I could add a method __ToString() to CsnUser Class that returns custom string and add annotation @annotation\Options({"target_class":"CsnUser\Entity\Role","property": "" }) to my Customer Class but I would prefer not to alter CsnUser Module code.
Do you have any suggestion to obtain same pourpose without alternig original code?
Thank you very much for helping.
Best regards.
The text was updated successfully, but these errors were encountered: