-
Notifications
You must be signed in to change notification settings - Fork 76
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
feat: add src type to CloudinaryLoaderCldOptions interface #552
feat: add src type to CloudinaryLoaderCldOptions interface #552
Conversation
@vickywane is attempting to deploy a commit to the Cloudinary DevX Team on Vercel. A member of the Team first needs to authorize it. |
hey @vickywane looks like this is failing can you try to seei f you can reproduce the error locally by running |
687b45e
to
d8ac9f6
Compare
@colbyfayock I have fixed that error. It was being thrown up in the |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
the update ends up breaking all of the images. did you test this locally? https://next-cloudinary-mnw6gnapu-cloudinarydevx.vercel.app/ |
@vickywane hey any updates? |
1984f52
to
c1648d0
Compare
@colbyfayock I looked through the code and saw that specifying a I'm doing a bit of typecasting in L190 which helps us to still maintain the expected type for the I checked the deploy preview link you specified and the images are not showing up, but that's not due to the previous |
@colbyfayock Have you been able to take a look at this? |
{ | ||
...cldOptions, | ||
|
||
...{ |
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.
why is this needed?
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.
@colbyfayock I read through and tested again and I realized this spread here was not needed.
I was initially trying to merge the properties of the cldOptions
object with a modified type into a single object, but that's not needed since I am typecasting down the line.
i need to find some time to spend reviewing this. its difficult with the formatting changes and i'm not quite sure the fixes are fixing the root cause or a bandaid. will try to find some time this week |
@colbyfayock I have removed the formatting to make this easier to review ( sorry that came from my code editor
I would say this is a fine mix of a bandaid and a fix. |
thanks. im at a conference but will be back thursday and will try to review |
@colbyfayock Okay. Looking forward to it! |
hey @vickywane just merged in the thanks for fixing this all. going to merge it back into the thanks for your contribution. this PR is eligible for free Cloudinary Hackatoberfest swag. Please send me an email at [email protected] with your name, GitHub username, and a link to the PR where I'll send further instructions. Happy Hacktoberfest! |
@all-contributors please add @vickywane for code |
I've put up a pull request to add @vickywane! 🎉 |
🎉 This PR is included in version 7.0.0-beta.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Adds @vickywane as a contributor for code. This was requested by colbyfayock [in this comment](#552 (comment)) [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Description
This PR will add the
src
type toCloudinaryLoaderCldOptions
interface to fix the ts error being thrown from thecloudinary-loader.ts
file.Fixes This will close #425
Type of change
Checklist