Skip to content
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

Extend behaviour of --read-only, --ro options #1416

Closed
TracyGJG opened this issue Apr 16, 2023 · 1 comment
Closed

Extend behaviour of --read-only, --ro options #1416

TracyGJG opened this issue Apr 16, 2023 · 1 comment

Comments

@TracyGJG
Copy link

The current implementation only supports GET operations when in read-only mode. It would be very helpful if the other operations were also supported in memory and without writing the changes to the file system. i.e., keeping the source JSON file as a read-only resource.

@TracyGJG
Copy link
Author

I have found a simple and effective work-around. Tested with 0.17.3, if the data file is made read-only the application loads the data but does not modify it. Changes are written but to a temporary file that can be overwritten on each restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant