Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Data conversion removed, CR Spec updated #24

Merged
merged 1 commit into from
Sep 4, 2020
Merged

Conversation

tzununbekov
Copy link
Member

  • Superfluous data formatting removed
  • Transformation Spec "Name" field renamed to "Operation"

Closes #23

@tzununbekov
Copy link
Member Author

@JeffNeff please note that when it gets merged, current Transformation objects must be updated:
before

      spec:
        data:
        - name: add
          paths:
...

after

      spec:
        data:
        - operation: add
          paths:
...

Sorry if it gives you too much of a headache, I should have renamed it before you started to work on Transformation Bridges

@JeffNeff
Copy link
Contributor

JeffNeff commented Sep 3, 2020

No no! No headaches at all bud! Thank you for the heads up

// TryStringToJSONType accepts interface value and if value is string
// it will try to format it into JSON friendly representation of bool
// or float64. Otherwise value will be returned unchanged.
func TryStringToJSONType(value interface{}) interface{} {
Copy link
Contributor

Choose a reason for hiding this comment

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

ahhh... i see why we were getting that issue 😢. Thank you again for addressing this so quickly!

@JeffNeff
Copy link
Contributor

JeffNeff commented Sep 3, 2020

I saw that the README is outdated so I gave it a quick go over to try to be of a little help -> #26

@JeffNeff
Copy link
Contributor

JeffNeff commented Sep 3, 2020

LGTM. I am tying up some loose ends here and then im going to deploy it to a dev cluster and give it a poke or two for you.

@tzununbekov tzununbekov merged commit b918a9a into master Sep 4, 2020
@tzununbekov tzununbekov deleted the formatting-fix branch September 4, 2020 03:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not convert phone numbers to float64
3 participants