Now that I have implemented the depo keyword, this is possible:
; From ./apple_service.fart
type Apple {
weight*: number
}
type AppleRequest {
filters: {
minWeight: number
maxWeight: number
}
}
type AppleResponse {
value: Apple
}
depo AppleService {
pickBestApple: <AppleRequest, AppleResponse>
}
Now that I have implemented the
depo
keyword, this is possible: