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

Strongly typed fieldErrors and generalErrors #105

Open
kasir-barati opened this issue Jun 28, 2024 · 1 comment
Open

Strongly typed fieldErrors and generalErrors #105

kasir-barati opened this issue Jun 28, 2024 · 1 comment
Assignees

Comments

@kasir-barati
Copy link

Hey fellow devs,

I was reading the doc and source code, then realized that we are not typing these two as it should be. Even though we have a much better type support in other programming languages such as Golang and php: https://github.com/FusionAuth/go-client/blob/main/pkg/fusionauth/Domain.go#L2888C2-L2888C13

So if it is not too much to ask please add a more robust typing.

Best regards
Mohammad Jawad.

@kasir-barati
Copy link
Author

BTW I also realized in my application that I had to redefine the same class called ClientResponse because this SDK when receives a 400 error response it will throw it as an error but I do not have access to its interface

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

2 participants