I'm glad you're here!

Howdy! My name is Leonardo Losoviz, I'm an award winning freelance developer and consultant, creator of GraphQL by PoP (a CMS-agnostic GraphQL server in PHP) and the open source PoP project (for building applications based on server-side components), regular contributor to Smashing Magazine, the LogRocket blog and Design Bombs, and occasional conference speaker.

Happy reading!

✍️ My latest blog posts

  1. 😵 Couchsurfing is dead

    Bye bye Couchsurfing, you've been good to me, you've hosted me all over Europe and Japan, trips I couldn't have afforded otherwise. I met many friends. I met my wife. Those were good times. But that's no more. Couchsurfing (with a lowercase s) is dead.... Read more

  2. 🤔 Why GraphQL needs to support the union of scalars

    In my latest article on LogRocket, Creating an @export GraphQL directive, I showed the screenshot of a GraphiQL client with red lines over the query argument definitions, which indicate there is an issue going on: Why is this happening? For the... Read more

  3. 🙃 Opening modal windows in the WordPress admin, with/out Gutenberg

    I have recently wrote 2 articles which, in general terms, accomplish the same objective: to show documentation to users of my plugin through a modal window in the WordPress admin. However, they use 2 different strategies: with and without Gutenberg. 🎩... Read more

  4. 🏛 Architecture design - Executing GraphQL directives through a pipeline

    TL;DR: I published a new article on my GraphQL series: Treating GraphQL directives as middleware In the series on GraphQL I'm writing for LogRocket, I've been arguing that good support for custom directives may be the most important factor for choosing a... Read more

  5. 🔥 Registering a Gutenberg block for a specific Custom Post Type only

    For my GraphQL API for WordPress plugin (to be released soon, yay!), I have created several Custom Post Types, which are elegantly operated through custom Gutenberg blocks. For instance, the GraphiQL block is used to create persisted GraphQL queries: Now,... Read more

  6. 📺 Creating persisted GraphQL queries

    One of the issues with GraphQL is its lack of security: the single endpoint it provides can be accessed by anyone, legit users but also attackers trying to get private data, or attempt to bring the server down by sending complex queries. My upcoming... Read more

  7. 😳 GraphQL directives are underrated

    Not many articles (if any) comparing REST and GraphQL mention directives to be a key differentiator. Yet, I believe that directives are one of the most powerful features in GraphQL, which alone justifies migrating an API from REST to GraphQL. Coming from... Read more

  8. 😎 Adding symlinks in Lando to speed-up development

    My laptop just broke, but I was lucky enough to be lent another laptop to keep working until I can have mine fixed. I didn't want to mess up this computer installing all the software I need to run my development web server (MAMP, MySQL, configuring hosts... Read more

  9. 🎦 Video - Creating custom endpoints with the GraphQL API for WordPress plugin

    The upcoming GraphQL API for WordPress plugin (to be released this May!) allows to create multiple GraphQL endpoints, each of them with a different configuration, as to expose only the require data, add a corresponding access control strategy, set-up... Read more

  10. 👀 Video showing the GraphQL API for WordPress brand-new plugin

    The video for the sneak preview to my upcoming GraphQL API for WordPress plugin (to be released this May!) has been published: The quality of the video uploaded to YouTube is terrible though 😢, the videos are pretty much static. So in the upcoming days... Read more