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

Validate params types in linter #1031

Open
ChloePlanet opened this issue Aug 26, 2020 · 0 comments
Open

Validate params types in linter #1031

ChloePlanet opened this issue Aug 26, 2020 · 0 comments
Assignees
Labels
enhancement P1 Medium priority

Comments

@ChloePlanet
Copy link
Contributor

ChloePlanet commented Aug 26, 2020

Please do not post any internal, closed source snippets on this public issue tracker!

Purpose

Output warnings when there's type which is not defined.

e.g.

MobileApp:
  Name:
    return ok <: str                # `str` not found, possible primitive Sysl type: [`string`]
  Login(input <: Servr.LoginData):  # `Servr.LoginData` not found
    return ok <: string
Server:
  !type LoginData:
    userID <: string
@ChloePlanet ChloePlanet added the P1 Medium priority label Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement P1 Medium priority
Projects
None yet
Development

No branches or pull requests

2 participants