Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Justin Meyer
    @justinbmeyer
    are they number <=> string conversion issues?
    Ivo Pinheiro
    @ivospinheiro
    probably yes,
    I have to investigate these messages a little further
    Justin Meyer
    @justinbmeyer
    in this app I just upgraded, I see them b/c the routeData will have "5", but it will be converted to 5 on some viewModel
    Ivo Pinheiro
    @ivospinheiro
    I will check the types on the binding
    Justin Meyer
    @justinbmeyer
    we need an any-to-string converter (that just is a backwards string-to-any)
    Ivo Pinheiro
    @ivospinheiro
    ok
    Justin Meyer
    @justinbmeyer
    so folks can do <child-component todoId:bind="any-to-string(routeData.todoId)"/>
    Ivo Pinheiro
    @ivospinheiro
    is there any feature request for this already?
    Justin Meyer
    @justinbmeyer
    not currently
    Another way is to have masks in your VM:
    get todoId(){
      return parseInt( this.routeData.todoId )
    },
    set todoId(newVal){
      this.routeData.todoId = ""+newVal;
    }
    Ivo Pinheiro
    @ivospinheiro
    oK
    it will work probably fine
        "any-to-string": {
            get: function(obs){
                return stringToAny( canReflect.getValue(obs) );
            },
            set: function(newVal, obs){
                var converted = ""+newVal;
                canReflect.setValue(obs, converted);
            }
        }
    You could pass this to stache.addConverter( and it should work ...
    Ivo Pinheiro
    @ivospinheiro
    ok, great!
    Thanks for the tips @justinbmeyer they will help me investigating the can-bind semaphore
    I will also open a Feature Request to disable the log message collecting on testee-client
    Ivo Pinheiro
    @ivospinheiro
    Justin Meyer
    @justinbmeyer
    thanks
    Dovid Bleier
    @dbleier
    hi all, having a bit of an issue where testee runs through all the test cases and then just hangs and doesn't exit
    tried with v0.8.1 using headless chrome
    just one project is having the issue, other projects seems to work as expected
    Chasen Le Hara
    @chasenlehara
    Hi @dbleier, everyone’s moved to our Slack, would you mind re-posting your question in the #testing channel there please? https://bitovi.com/community/slack
    Dovid Bleier
    @dbleier
    oh, ok. thanks for letting me know