What is the expected behavior when there is absolutely no view ever created with the ID passed into this API? I’m finding that the promise is always successful. i was putting an API I called ‘getStartedView’ which would first try to ‘find’ the view, and then if it did not exist, i would create the few, start it and return it.
What I find is that i can pass any string like 'this_does_not_exist" and this find() api will tell me it found a view like
This is not what I would expect from an API called ‘find’, I would expect to fail to find the view and reject the defer/promise not actually go and create a new view and assume that the location is the same as the ID (which would rarely ever be the case)
What am I missing here?