Error when adding floating point numbers to a component

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [X] Documentation issue or request

Current behavior

I use components for my project. If I send graphql a creation request that uses components that have numeric fields, then when I enter a floating-point number, I get an error

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [X] Cloud version

Browser:

  • [X] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Error

“message”: “Error trying to resolve field ‘createTankContent’.”

Code

mutation{
  createTankContent(data: {
  	defaultProfile: {
    	iv: {
      	siege: {
        	suspensionTraverseSpeed: 0
        	moveDownArc: 0
          switchOnTime: 2.0
          reloadTime: 6.4
          moveUpArc: 9
          dispersion: 0.25
          switchOffTime: 2.0
          speedBackward: 5
          aimTime: 1.5
        }
      }
    }
  }){ 
    id 
  }
}

Thanks, I can reproduce it and found it in the logs.

This topic was automatically closed after 2 days. New replies are no longer allowed.