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

change param array indexing validation functions to member functions #6180

Merged

Commits on Mar 2, 2023

  1. change param array indexing validation functions to member functions

    This commit refactors param array indexing validation to extract all
    references first, then validate if references are out of bound.
    Previously we traverse all references and collect invalid references
    there. The benefit of this refactoring is that it would be convenient
    for other validation to reuse these references.
    This commit also moves validation functions into api and change them to
    member functions.
    
    Signed-off-by: Yongxuan Zhang [email protected]
    Yongxuanzhang committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    47343d4 View commit details
    Browse the repository at this point in the history