-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
When importing a store fga store import or writing tuples fga tuple write,
It would be nice if instead of logging to stdout in the end, we:
- allow for an optional, opt-in output to files. E.g. folks can pass in
--output-success-fileand--failed-success-fileto output to the files from the CLI at (without requiring shell redirection). We can make sure that the output format would be compatible with the read so that people can call read on that file again. It should also have metadata about each tuple, including the error message and the request ID to allow for debugging the failure later. - By default have the CLI output to STDOUT the failed tuples, could be hidden by (
--show-failed-tuples=false) (and optionally the successful tuples, enabled by--show-successful-tuples=true) as they occur (not wait till the end). This will help in situations where e.g. the CLI stalls, encounters a bug or exits early for any reason. It will also help the user monitor the progress and don't have to sit wondering until the process is done.
Originally posted by @rhamzeh in #511 (comment)
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog