wait, are there any docs on Enum, I can use that t...
# prisma-whats-new
f
wait, are there any docs on Enum, I can use that to store my stripe key
n
@fourcolors you should absolutely not use enums to store your Stripe key 🙂
f
oh
well shoot
where is a good place to store my stripe key and what are enums for then?
n
Enums are for storing things like different user groups or maybe product categories
They are part of the schema and publically available.
f
oooooh… yeah that’s not a good idea
a
Waiting for global variables 🙂
f
So should I just inline my stripe key in a function?
I guess since those functions aren’t public, that would be bad?
n