Skip to content

Public API for SchemaDefinition class #2978

Closed

Description

@yaeldekel

There are no samples/tests in the code that make use of this class, even though it is part of the public API.

Activity

  1. self-assigned this
    on Mar 15, 2019
  2. yaeldekel commented on Mar 15, 2019

    @yaeldekel
    Author

    Also, I think this class should be cleaned up. For example:
    The property IsComputed - should it be internalized/removed?
    The property ReturnType - looks like it should be internal.
    GetAnnotationTypes is a property, so should be renamed.

  3. TomFinley commented on Mar 15, 2019

    @TomFinley
    Contributor

    Yes, I agree with that strongly... we previously used it I think for two purposes, this before we were writing ML.NET, one was something for the user to "talk to" to tell it what it wanted done, the second was for the PredictionEngine itself to inspect to figure out what should be done, and I don't think we were, at the time, terribly discriminating about whether something was in the public or internal surface w.r.t. "external" and "interface" code.

  4. singlis commented on Mar 15, 2019

    @singlis
    Member

    @yaeldekel this sounds like multiple issues relating to API, documentation and tests. Want me to create an issue for each case?

  5. yaeldekel commented on Mar 18, 2019

    @yaeldekel
    Author

    Hi @singlis , yes, that would be great. I already have a PR for cleaning up the API for this class that references this issue, so adding an issue for doc/samples is a great idea.

  6. added a commit that references this issue on Mar 11, 2021
  7. ghost locked as resolved and limited conversation to collaborators on Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions