cloudinary / cloudinary_kotlin

Cloudinary Kotlin SDK library
MIT License
11 stars 4 forks source link

Fix `e_preview` normalization #43

Closed adimiz1 closed 2 years ago

adimiz1 commented 2 years ago

Brief Summary of Changes

Root Cause

Normalize function for expression changed variables such as: duration

Implementation

The :${it} part is to prevent normalization of vars with a preceding colon (such as :duration)

What does this PR address?

Are tests included?

Reviewer, please note:

Checklist:

adimiz1 commented 2 years ago

@patrick-tolosa regarding the link you attached it answered another problem needs to be solved, where variable names using $ are getting normlized , but that's a different PR , I agree we should add all those test cases.