Replies: 1 comment 1 reply
-
I believe that the same
For 1 (external), we should not have that many required properties. Today this causes a lot of unnecessary warnings. IMO, we should not use the same schema file for both purposes. Maybe the internal schema could extend the external schema with the required settings, using $ref and allOf. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the list of required properties for the settings.json file looks as follows:
AL-Go/Actions/.Modules/settings.schema.json
Lines 662 to 750 in 62f89da
Which is not only excessive, it's also wrong. Some properties like appDependencies will cause warnings if they are defined, but empty.
In my opinion, the schema should only require properties that are necessary to run actions given the sample app. Since not every action is needed for a project, I don't know how to determine whether a property should be required if it is necessary for a less used workflow, but at the very least those with default values should be removed from this list.
Beta Was this translation helpful? Give feedback.
All reactions