-
Notifications
You must be signed in to change notification settings - Fork 12
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
Component Generation #16
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
664f2bb
to
c35618f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Looks good to me. |
…nversion of ArrayOf and ObjectOf properties in component generation
…e, some characters caused XML documentation to be invalid, '+' is not a valid character in DU case names
…erated components
…tion, was causing more issues than it solved
…o type.convert in component generation
a5ea70b
to
afaf467
Compare
This comment has been minimized.
This comment has been minimized.
| ObjectOf (_, Some value) -> | ||
value | ||
|> getTypePropDocumentation | ||
|> Option.map (sprintf "dict with values of type: %s") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dict -> record?
(apologies for the late comment, just poking around here to see how you implemented things)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not in this case. ObjectOf
is actually a Map
, which is the F# version of IDictionary
. I think I put dict
here to be consistent with the python generator, but this technically should be Map
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it - just wanted to make sure this wasn't an unintended remnant from Python :)
Create a separate project publishable as a
dotnet tool
for component generation.Update 2021-07-01: Added samples for generation via string manipulation and generation via AST
Update 2021-08-20: Code complete and ready for first-pass reviews
NOTES TO REVIEWERS:
contentRoot
needs to point to the build output, and not to the source code:Rough todo list, in no particular order
BackboneGenerator.fsx
.js
script loading on import/usemetadata.json
dotnet tool