API cannot handle null strings

zproxyzproxy

很久以前 | 帖子#1
I was trying to send a null string and this is what i got:

Error: object is not yet supported
at Nonoba.api::Message/add()
at Nonoba.api::Message/Add()

Even as you do not support objects maybe you could add a special case for null objects as it would allow to pass null strings.

What do you think?

As a workaround I will use empty string instead of null string.

rdzrdz

很久以前 | 帖子#2
Why send if there is nothing to send? :-S

(just curious) ;-)

zproxyzproxy

很久以前 | 帖子#3
Sending null would trigger int the receiver something different than sending a non null string for example.

ChrisChris

很久以前 | 帖子#4
Well the best you can do as of now is to send an empty string - I somewhat fail to understand why you would send null anyway?

回复主题

现在就注册以回复主题

5dyouxi

5dyouxi.com是一个独立的游戏网站,在这里你将可以免费玩到各种好玩的单人和多人游戏。

开发者工具

如果你是一位flash游戏开发者,我们有一些非常强大的工具来帮助你开发更加优秀的游戏。

经典游戏

为什么不试试我们这里的一些最为优秀的在线flash游戏呢?这可是完全免费的!

Copyright ©2007-2012 5dyouxi™ - All rights reserved.15.6ms on SERVER34096
注册 或者