-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add DataSources to project json storage #6160
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good but I'd suggest making the data source storable by default and I'd store them in an array instead of an object to make it more consistent and avoid some common issues with objects.
…s into feat/datasource-storage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
### Benefits of Using `skipFromStorage` | ||
|
||
1. **Persistent Configuration**: Store configuration data that should persist across project saves and loads. | ||
2. **Default Data**: Include default data that should always be available in the project. | ||
3. **Selective Storage**: Choose which DataSources to include in the project JSON, optimizing storage and load times. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this should be updated
This PR introduces the ability to store DataSources in the project JSON, allowing for persistent data across project saves and loads. Key additions include the
skipFromStorage
flag and updated store and load methods in the DataSourceManager.