Add DbGuildId in json result for API? #1785
Alexoune001
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am writing to you about an idea I had recently as I am developing my website in Symfony 6.2 with API connection, and I noticed that currently the field which is in the players table, is not in the JSON results when I do a dd($players) to get all the information.
My idea is to be able to integrate the DbGuildId in the results or to add a field for example in the player table in order to directly have the name of the guilds of each player?
I put a small screen here to show that the json results that the api returns to me concerning the information, well there is everything except the DbGuildId which therefore does not allow to move forward to display the guild of the player in question who wishes to consult his guild directly via the site.
Screen:

And here is a small screen to suddenly show the existing guild info at the Player table level :

That's it, I hope you've understood the little idea, have a nice day/evening ^^
Beta Was this translation helpful? Give feedback.
All reactions