8000 Keep track of documentation needed for Restrictions, Expressions, and Constraints · Issue #1086 · jakartaee/data · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Keep track of documentation needed for Restrictions, Expressions, and Constraints #1086

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

Open
njr-11 opened this issue Apr 30, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@njr-11
Copy link
Contributor
njr-11 commented Apr 30, 2025

We deferred the creation of documentation for Restrictions, Expressions, and Constraints due to a large amount of churn in those classes. This issue is opened to track the work that is needed, as well as to try to logically split it up in to parts that have been more stable vs parts that might be more likely to continue to see changes. There is also a lot of similarity in many of the API classes (for example the constraint subtypes or core expression subtypes), and when we are ready to work on those, an efficient way to do so would be to work on just a single class first and gain agreement on that before replicating it to all of the similar classes. That will save a lot of work for both the reviewers and author of the PR.

From what seems most stable to most likely to see more changes:

    • Restriction (basic and composite) - this piece has remained stable for a while now, and I'm going to look into starting on the Javadoc for it.
    • Expression.
    • ComparableExpression and its subtypes within the expression package.
    • Literal and 1 of the subtypes from the expression.literal package.
    • The remaining subtypes from the expression.literal package.

    • NumericOperatorExpression
    • FunctionExpression, TextFunctionExpression, NumericFunctionExpression
    • CurrentDate, CurrentDateTime, CurrentTime
    • NumericCast (will need to be able to document which types of casting are valid)
    • NavigableExpression, Path and 1 of the subtypes from the expression.path package
    • The remaining subtypes from the expression.path package
    • Constraint and 1 of the subtypes from the constraint package
    • The remaining subtypes from the constraint package
    • Double check for other API classes that have been added but not documentedIn addition to the above, the specification document. I wasn't sure where to place that in the order.

We need to be careful when writing examples into documentation to avoid using capability that is still in question or is expected to be deferred post 1.1, such as constraints and expressions that compare against other expressions and attributes rather than values.

@njr-11 njr-11 added the documentation Improvements or additions to documentation label Apr 30, 2025
@njr-11 njr-11 added this to the 1.1 milestone Apr 30, 2025
This was referenced Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant
0