Reply to Comment


  1. - This comment has not yet been approved.

    1. Mark Hamstra Mark Hamstra
      Jul 19, 2020 at 09:36 PM

      Pretty sure xPDO 3 does not introduce a new _schema_ version ;) That's either 1.0 (for xPDO < 2.2) or 1.1 last I checked.

      But yes, as mentioned various times throughout the article, the examples are indeed for xPDO 3 and you will indeed need to take out namespaces to use it on xPDO 2.

      1. Shawn Maddock Shawn Maddock
        Jul 19, 2020 at 09:42 PM

        There are 3.0 examples in the repo, e.g., https://github.com/modxcms/xpdo/blob/3.x/test/model/schema/xPDO.Test.Sample.STI.mysql.schema.xml

      2. Mark Hamstra Mark Hamstra
        Jul 19, 2020 at 09:49 PM

        I stand corrected! Will need to look at what effect that has compared to the 1.1 syntax. Can definitely confirm xPDO 3 and namespaces work fine with the 1.1 schema ;)

Add some thoughts