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

Add additional error logs from the root failure #2637

Open
wesbillman opened this issue Sep 9, 2024 · 1 comment
Open

Add additional error logs from the root failure #2637

wesbillman opened this issue Sep 9, 2024 · 1 comment
Labels
backlog Not pressing, but should be looked at someday dx

Comments

@wesbillman
Copy link
Collaborator

wesbillman commented Sep 9, 2024

when we fail to extract a schema decl (e.g. typealias, data, etc.) we propagate errors for any corresponding schema references (i.e. anywhere in the schema we find foo.Failed etc.). this produces errors like "unsupported request/response type" on referencing verbs

We should make it clear that the errors are all related, and highlight the "root" one

//ftl:typealias
type MyCoolRequest struct {
	Params  MyCoolParams
}
@wesbillman wesbillman added the dx label Sep 9, 2024
@github-actions github-actions bot added the triage Issue needs triaging label Sep 9, 2024
@gak gak added the backlog Not pressing, but should be looked at someday label Sep 10, 2024
This was referenced Sep 11, 2024
@alecthomas
Copy link
Collaborator

🦠

@worstell worstell removed the triage Issue needs triaging label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Not pressing, but should be looked at someday dx
Projects
None yet
Development

No branches or pull requests

4 participants