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

fix all typescript compile errors #221

Merged
merged 4 commits into from Jun 7, 2021
Merged

fix all typescript compile errors #221

merged 4 commits into from Jun 7, 2021

Conversation

Enubia
Copy link
Contributor

@Enubia Enubia commented Jun 6, 2021

this is a first draft to "fix" all kind of compile errors

right now i've only did a few workarounds for non existing properties as well as some proper type declaration

todos should be added to all dot-notation eslint inline rule exceptions since those are actually typescript errors of non existing properties

a few ts-ignore statements where added in places where it wasn't easily possible to cast to a generic type, descriptions why those are done are added in the comments

right now i've only did a few workarounds for non existing properties as well as some proper type declaration

todos should be added to all dot-notation eslint inline rule exceptions since those are actually typescript errors of non existing properties

a few ts-ignore statements where added in places where it wasn't easily possible to cast to a generic type, descriptions why those are done are added in the comments
Copy link
Owner

@chriskalmar chriskalmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your great additions. 🙏
The tests didn't pass tho, due to the marked issues.
Please check my comments.

src/engine/datatype/ObjectDataType.ts Outdated Show resolved Hide resolved
src/graphqlProtocol/action.ts Outdated Show resolved Hide resolved
src/graphqlProtocol/resolver.ts Show resolved Hide resolved
@chriskalmar
Copy link
Owner

Btw, good call on the todos. 🤘

@Enubia
Copy link
Contributor Author

Enubia commented Jun 7, 2021

test ran successfully on my machine, please run them through GH actions again to verify

@Enubia Enubia requested a review from chriskalmar June 7, 2021 07:39
@chriskalmar chriskalmar merged commit 90f8f11 into chriskalmar:master Jun 7, 2021
@Enubia Enubia deleted the fix/ts-build-errors branch June 7, 2021 20:27
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

Successfully merging this pull request may close these issues.

None yet

2 participants