-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
NullableStringは本来「valueがnilのときはisSetはfalse」となっていることが期待されるがそうなっていないケースがある
発生したケース
traqApi.ChannelApi.GetChannels(auth).Execute()の返り値のParentId
対応するAPIGET /api/v3/channelsを直接叩いたときに"parentId": nullとなるすべてのチャンネルにおいて発生
&traq.Channel{
Id: "f08c42ad-09e7-40ca-8966-b314fd3e48d9",
ParentId: traq.NullableString{
value: (*string)(nil),
isSet: true,
},
Archived: false,
Force: false,
Name: "gps",
...
}
確認済みなのはNullableStringだけだが、他のNullable*でも同様の状況になっている可能性があるかもしれない
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels