paint-brush
Hiding API fields dynamically — Laravel 5.5by@deleugpn
14,657 reads
14,657 reads

Hiding API fields dynamically — Laravel 5.5

by Marco Aurélio Deleu3mSeptember 26th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

I recently saw a <a href="https://github.com/laravelbrasil/forum/issues/140" target="_blank">question</a> on Laravel Brasil community that turned out to be a lot more interesting than it looks. Imagine you have a <code class="markup--code markup--p-code">UsersResource</code> with the following implementation:

Company Mentioned

Mention Thumbnail
featured image - Hiding API fields dynamically — Laravel 5.5
Marco Aurélio Deleu HackerNoon profile picture
Marco Aurélio Deleu

Marco Aurélio Deleu

@deleugpn

L O A D I N G
. . . comments & more!

About Author

Marco Aurélio Deleu HackerNoon profile picture
Marco Aurélio Deleu@deleugpn

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite