baml icon indicating copy to clipboard operation
baml copied to clipboard

bug: compound clients do insufficient compiler validation

Open sxlijin opened this issue 1 year ago • 2 comments

User report via Slack connect: they have a fallback client where one of the clients doesn't actually exist, which causes prompt rendering to panic in unreachable!.

sxlijin avatar Aug 05 '24 17:08 sxlijin

In the same vein, if the fallback has no clients, it also hits unreachable

sxlijin avatar Aug 05 '24 17:08 sxlijin

Also need to add syntax errors for unresolvable clients within fallbacks.

anish-palakurthi avatar Aug 09 '24 17:08 anish-palakurthi