Book a Demo

Author Topic: Breaking change in API in v13  (Read 5052 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Breaking change in API in v13
« on: October 11, 2016, 05:26:58 pm »
There is a breaking change in the API since v 12.1.
The types EA.SchemaType and EA.SchemaProperty now have property Guid and no longer the property GUID.
Please try to avoid these kind of breaking changes, and especially is they have no added  value at all.

Thanks

Geert

Reported as bug to Sparx.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Breaking change in API in v13
« Reply #1 on: October 12, 2016, 09:35:30 am »
I just reviewed the definitions of both types back to when they were introduced. They've always been Guid, I can't see any change.

When do you think it changed?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Breaking change in API in v13
« Reply #2 on: October 12, 2016, 11:23:18 am »
Just an update.

It took me a while, but IDL is a horrible, horrible beast. It's a case-insensitive language for defining a case-sensitive interface.If two symbols have the same name but different case, the compiler will replace all occurrences of one with the other. I think I've found a seemingly innocuous change in 1301 that could cause it to swap. Still needs further investigation though.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Breaking change in API in v13
« Reply #3 on: October 12, 2016, 02:15:26 pm »
Hi Simon,

Thanks for investigating. The first time I tried to compile my add-in against v13 (and got the errors) was on 1305

Geert