-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Improve documentation
Link
https://snaplet-snapshot.netlify.app/snapshot/core-concepts/capture#select-data
https://snaplet-snapshot.netlify.app/snapshot/core-concepts/capture#transform-data
Describe the problem
It seems that installing snaplet and importing defineConfig might no longer be feasible.
import { defineConfig } from "snaplet";
export default defineConfig({
transform: {
public: {
User: () => {
return {
email: 'my-new-email@example.org',
};
},
},
},
});Is it still possible to select and transform through other methods?
Transformation via npx @snaplet/snapshot snapshot capture -t auto will transform wholesale
Describe the improvement
Update the documentation to inform users on how to select and transform data using the configuration. Alternatively, clarify if this functionality is no longer available.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation