-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Typing frontend-core fetch apis #15295
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
c7acad4
to
775ecf8
Compare
@@ -116,8 +115,11 @@ | |||
} | |||
}) | |||
$: fields = bindings | |||
.filter(x => arrayTypes.includes(x.fieldSchema?.type)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was causing the attachments and array fields to not be displayed properly on the dataprovider selector
packages/frontend-core/src/components/grid/stores/datasource.ts
Outdated
Show resolved
Hide resolved
8c74a4b
to
0784a95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - a lot of conversion!
Description
Typing all the fetch classes from frontend-core. These conversions still contain some anys and some code could be simplified and cleaned (specially around nulls).
As this is a quite critical change, the approach was to modify as little as possible. Once merged in master, we can tackle case by case, improving the quality of these classes if required.