Skip to content
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

What attribute "arguments" should be included? #3

Open
rskopecek opened this issue Jan 19, 2019 · 0 comments
Open

What attribute "arguments" should be included? #3

rskopecek opened this issue Jan 19, 2019 · 0 comments
Assignees
Milestone

Comments

@rskopecek
Copy link
Owner

The attribute arguments are the final piece of expression. The args are designed to be expressed as needed with named parameters or via the comment by default.

The parameters are not intended to be highly specific but allow a reasonable common ground of expression.

There are some language level constraints that guide the expression one way or another (ex. only constants and no generics). For example, the date field is expresses as an iso integer and nullable integers are expressed via the minimum value.

https://github.com/rskopecek/CodeDocs/blob/master/src/CodeDocs/Generated/Bug.generated.cs
https://github.com/rskopecek/CodeDocs/blob/master/src/CodeDocs/CodeDocsAttribute.cs

@rskopecek rskopecek added this to the 0.1.x milestone Jan 19, 2019
@rskopecek rskopecek self-assigned this Jan 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant