issues
search
supabase-community
/
seed
Automatically seed your database with production-like dummy data based on your schema for local development and testing.
MIT License
483
stars
19
forks
source link
improvements(core): remove callback form in `connect` and useless $store in model callback context
#138
Closed
jgoux
closed
7 months ago
jgoux
commented
7 months ago
In this PR:
Got rid of the
$store
injected in the model callback context as it's accessible at
seed.$store
Simplified
connect()
API by removing the need for a callback as everything that was injected in the callback is accessible in the model callback context.
jgoux
commented
7 months ago
wrong branch sorry 😓
In this PR:
$store
injected in the model callback context as it's accessible atseed.$store
connect()
API by removing the need for a callback as everything that was injected in the callback is accessible in the model callback context.