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

Introduce :zen/type #63

Open
niquola opened this issue Aug 19, 2023 · 1 comment
Open

Introduce :zen/type #63

niquola opened this issue Aug 19, 2023 · 1 comment

Comments

@niquola
Copy link
Member

niquola commented Aug 19, 2023

Users are not good with :zen/tags - we can introduce :zen/type to simplify relationships.
:zen/type should be searchable by zen-tags (probably materialized into zen-tags)

@niquola
Copy link
Member Author

niquola commented Aug 19, 2023

For example

create-pt 
 {:zen/tags #{http/create}
  :operation http/create
  :schemas #{model/patient}
  :response {
    201 {:confirms #{model/patient}}
    422 {:confirms #{http/error}}}}

;; can be

create-pt 
 {:zen/type http/create
  :schemas #{model/patient}
  :response {
    201 {:confirms #{model/patient}}
    422 {:confirms #{http/error}}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant