Skip to content

Instantly share code, notes, and snippets.

@davidbarral
Created June 14, 2022 07:54
Show Gist options
  • Save davidbarral/100c227c62b84917c5ab68eac3d69879 to your computer and use it in GitHub Desktop.
Save davidbarral/100c227c62b84917c5ab68eac3d69879 to your computer and use it in GitHub Desktop.
DI Pragmatic 2
const updateUserPreference = require("./use-cases/update-user-preference.js");
updateUserPreference({ key: "someKey", value: "someValue" });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment