Title: Suggestion: Allow a .psd1 to have a schema so that validation and intellisense can be done · Issue #4016 · PowerShell/PowerShell · GitHub
Open Graph Title: Suggestion: Allow a .psd1 to have a schema so that validation and intellisense can be done · Issue #4016 · PowerShell/PowerShell
X Title: Suggestion: Allow a .psd1 to have a schema so that validation and intellisense can be done · Issue #4016 · PowerShell/PowerShell
Description: In PowerShell it's possible to use a .psd1 file to provide data to a cmdlet. DSC does this for example with its configuration data. We are developing a module which deals with environment preparation and configuration. It takes a configu...
Open Graph Description: In PowerShell it's possible to use a .psd1 file to provide data to a cmdlet. DSC does this for example with its configuration data. We are developing a module which deals with environment preparati...
X Description: In PowerShell it's possible to use a .psd1 file to provide data to a cmdlet. DSC does this for example with its configuration data. We are developing a module which deals with environment prepa...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4016
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suggestion: Allow a .psd1 to have a schema so that validation and intellisense can be done","articleBody":"In PowerShell it's possible to use a .psd1 file to provide data to a cmdlet. DSC does this for example with its configuration data.\r\n\r\nWe are developing a module which deals with environment preparation and configuration. It takes a configuration file (.psd1) which contains the required information about the environment.\r\n\r\nThis could be quite a bit of information so we do plan to use plenty of documentation to tell the users what the file should look like and runtime validation to point out errors. However, it struck me that it would be a nice idea to be able to apply a schema in a similar fashion to XML and JSON schemas. If an editor understands the schema, then it can show intellisense and flag errors. \r\n\r\nAnd it also means that the cmdlet can check for errors by running the schema validation and give consistent errors.\r\n\r\nJSON schemas work by adding a $id to the root element which specifies a schema URI.","author":{"url":"https://github.com/JohnLudlow","@type":"Person","name":"JohnLudlow"},"datePublished":"2017-06-15T13:03:38Z","url":"https://github.com/PowerShell/PowerShell/issues/4016"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7d20dcef-45c0-5d04-39b1-ad32d3beaf47 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A396:1BEBB1:FD68D:162D68:6AFDAB44 |
| html-safe-nonce | 5bd617ac29d15f0f735d16b0225a399d340090ad60afaf988c47f233ea8b2f50 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzk2OjFCRUJCMTpGRDY4RDoxNjJENjg6NkFGREFCNDQiLCJ2aXNpdG9yX2lkIjoiODk5NDUxOTYzMjYwOTkxMzY2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 583798feb679d875e19b9417ed79f10816de9c45366975f7ee71c0f5d9bfffa0 |
| hovercard-subject-tag | issue:236184380 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/4016/issue_layout |
| twitter:image | https://opengraph.githubassets.com/43dd6a9d6bbd91ba5ac3e6852076757c0cedb3f1419bfa4ffaeea48d9ab6bc47/PowerShell/PowerShell/issues/4016 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/43dd6a9d6bbd91ba5ac3e6852076757c0cedb3f1419bfa4ffaeea48d9ab6bc47/PowerShell/PowerShell/issues/4016 |
| og:image:alt | In PowerShell it's possible to use a .psd1 file to provide data to a cmdlet. DSC does this for example with its configuration data. We are developing a module which deals with environment preparati... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JohnLudlow |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0ddf53eb35c87f1f8df13dbf75c3bdadbfc6e969 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width