You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated code for Ruby doesn't consult the model's "discriminator" property to determine the name of the polymorphic discriminator property. Instead, it hard-codes "dtype". You can repro this by modifying the polymorphic example in the TestServer to use a discriminator called something like "fishtype" instead of "dtype", and then running the Ruby tests.
The text was updated successfully, but these errors were encountered:
Issue: Azure#456
Previously the discriminator property name was hard-coded to 'dtype'. It
looks like the property used in the tests was mistaken for a convention, so
I renamed it to 'fishtype' to make it obvious that it is specific to the
test data.
The generated code for Ruby doesn't consult the model's "discriminator" property to determine the name of the polymorphic discriminator property. Instead, it hard-codes "dtype". You can repro this by modifying the polymorphic example in the TestServer to use a discriminator called something like "fishtype" instead of "dtype", and then running the Ruby tests.
The text was updated successfully, but these errors were encountered: