// Code meme The two-field form Edit profile Name Bob Bio Just a regular user :) Save DevTools › Network › Edit and resend PATCH /api/users/me { "name": "Bob", "bio": "Just a regular user :)", "role": "ADMIN", "emailVerified": true } 200 OK · Profile updated Welcome back, Administrator Bob. fields on form: 2 fields on entity: 12 The form had two fields. The entity had twelve. ayushwing.com The form had two fields. The entity had twelve. Like every meme on this site, it is drawn entirely in code: an SVG built from TypeScript, no stock art.
The serious version: Mass assignment in Spring: how one JSON field makes someone an admin
← All memes