aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/flat-union-string-discriminator.json
AgeCommit message (Collapse)AuthorFilesLines
2014-03-11qapi script: do not allow string discriminatorWenchao Xia1-0/+17
Since enum based discriminators provide better type-safety and ensure that future qapi additions do not forget to adjust dependent unions, forbid using string as discriminator from now on. Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>