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-zod(5): Add makeProps #504
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your Render PR Server URL is https://kotti-pr-504.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c55337hg7hp7n0cp41m0. |
FlorianWendelborn
requested review from
Isokaeder and
carsoli
and removed request for
Isokaeder
September 21, 2021 19:25
FlorianWendelborn
added
autorebase:opt-in
Apply this label to enable automatic rebasing
package:kotti-ui
@3yourmind/kotti-ui
type:enhancement
features, etc.
labels
Sep 21, 2021
FlorianWendelborn
force-pushed
the
add-zod/add-make-props
branch
5 times, most recently
from
September 21, 2021 20:16
77102a4
to
d8f4245
Compare
FlorianWendelborn
changed the title
add-zod(100): Add makeProps
add-zod(5): Add makeProps
Sep 21, 2021
FlorianWendelborn
added
the
priority:4-high ⚠️
Needs to be fixed ASAP, but without HACKs
label
Sep 21, 2021
FlorianWendelborn
added
the
autorebase:non-rebaseable
AutoRebase applies this label when a pull request can't be rebased automatically
label
Sep 22, 2021
Also, this adds a surplus check so that jest sees that result.error is defined This isn’t necessary for TS itself, but somehow ts-jest didn’t see this... upgrading to latest didn’t fix this bug unfortunately, so this is as good as it gets
carsoli
force-pushed
the
add-zod/add-make-props
branch
from
September 22, 2021 12:32
d8f4245
to
cb54704
Compare
FlorianWendelborn
removed
the
autorebase:non-rebaseable
AutoRebase applies this label when a pull request can't be rebased automatically
label
Sep 22, 2021
carsoli
reviewed
Sep 22, 2021
carsoli
reviewed
Sep 22, 2021
carsoli
reviewed
Sep 22, 2021
carsoli
reviewed
Sep 22, 2021
carsoli
reviewed
Sep 23, 2021
carsoli
reviewed
Sep 23, 2021
carsoli
reviewed
Sep 23, 2021
carsoli
reviewed
Sep 23, 2021
carsoli
reviewed
Sep 23, 2021
carsoli
reviewed
Sep 23, 2021
carsoli
reviewed
Sep 23, 2021
carsoli
approved these changes
Sep 23, 2021
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.
If you attend to any of the comments, please have separate commits/commit, for an easier review process
Thanks!
FlorianWendelborn
force-pushed
the
add-zod/add-make-props
branch
from
September 23, 2021 23:29
4590f0a
to
5ebfae4
Compare
carsoli
reviewed
Sep 24, 2021
carsoli
reviewed
Sep 24, 2021
carsoli
reviewed
Sep 24, 2021
carsoli
reviewed
Sep 24, 2021
carsoli
reviewed
Sep 24, 2021
carsoli
approved these changes
Sep 24, 2021
FlorianWendelborn
force-pushed
the
add-zod/add-make-props
branch
from
September 24, 2021 14:28
1639884
to
26442d8
Compare
Unfortunately, the makeProps type hints only work for some types in Vue, others somehow get resolved to any. As far as I can tell, this is due to PropType<> being buggy. I also tested @vue/composition-api@1.1.5 and PropType does appear to be broken there as well. Let’s hope that one day Vue will properly support this.
… Various PR Comments Co-Authored-By: Carol Soliman <17387510+carsoli@users.noreply.github.com>
Co-Authored-By: Carol Soliman <17387510+carsoli@users.noreply.github.com>
Co-Authored-By: Carol Soliman <17387510+carsoli@users.noreply.github.com>
Co-Authored-By: Carol Soliman <17387510+carsoli@users.noreply.github.com>
z.array().nonempty() influences the type definitions, and causes issues with Array.prototype.map() not being aware of the underlying array's cardinality.
FlorianWendelborn
force-pushed
the
add-zod/add-make-props
branch
from
September 24, 2021 14:32
26442d8
to
d283c56
Compare
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
autorebase:opt-in
Apply this label to enable automatic rebasing
package:kotti-ui
@3yourmind/kotti-ui
priority:4-high ⚠️
Needs to be fixed ASAP, but without HACKs
type:enhancement
features, etc.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rebased on top of #505, #506, #507, and #508
Breaking Changes:
Kotti.UserMenu.Section
now enforcestitle
asstring | null