Comments (4)
Why not put type string?
It's not a string though - it's an enum, you can't say yaml for example.
from cli.
The ModelFormat
text is because that's what we return in the Type function, maybe we should just return format
as I think in an enum based option a lowercase of the option is more common, wdyt @miparnisari?
The default default
I'm not sure what we can do about that as the default for that default
. I think maybe we could refactor the code to remove that and potentially use an empty string value in place of default
but that might be a bit more involved.
from cli.
The ModelFormat text is because that's what we return in the Type function, maybe we should just return format as I think in an enum based option a lowercase of the option is more common, wdyt @miparnisari?
Why not put type string
?
use an empty string value in place of default
Based on the example that i tried, it looks like the default is fga
from cli.
Based on the example that i tried, it looks like the default is fga
The default depends - it's either fga if you paste the string directly, or autodetected from the file name if you pass in the file
from cli.
Related Issues (20)
- Load all files returned after parsing the `fga.mod` file
- Allow referencing an `fga.mod` file in the store file
- Allow referencing an `fga.mod` file in the commands
- `fga --version` should return the version of the OpenFGA server HOT 1
- Allow pattern matching by CLI for `--tests` argument with `test` command
- Generate a tests report HOT 7
- `fga store import` should display the generated Store ID + Model ID
- Invalid go-sdk version during build HOT 5
- Support `list_users` in the Store File
- add `output-format` parameter to `fga model transform`
- Add support for `fga query list-users`
- Use file name as default store name for `fga store import
- Add a progress bar to `fga store import`
- Support for contextual tuples in model tests HOT 5
- Unable to specify store-id when importing a store from file or creating new HOT 2
- Cli Fails "panic makechan: size out of range" HOT 7
- `fga store import` returns null when a store_id is specified
- Clarify that tests are run locally when specifying a model .fga.yaml + store-id HOT 2
- --config command not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.