]> gerrit.simantics Code Review - simantics/platform.git/commit
Added more literal type resolution logic to claimLiteral 57/4057/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 17 Mar 2020 15:04:43 +0000 (17:04 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 25 Mar 2020 11:00:49 +0000 (11:00 +0000)
commitc943961e15c1022e1f9165e683995240abb5d97f
tree7dec24c4ed8328081e55d5fc3c1170780432affd
parentfa107b33201040a66ef237f3705395d74b22bb97
Added more literal type resolution logic to claimLiteral

If the Class of the value doesn't tell which layer0-builtin type
resource to use, try to use the Datatype provided by the binding to
resolve the builtin type resource. If that fails also, resort to the the
old fallback behavior.

gitlab #496

Change-Id: Ie55984d2812bafa84c12f0a776b0d6de7e6a905d
(cherry picked from commit d788b5fea66a6dffe1649de57bc83705e6027bc0)
bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/WriteGraphImpl.java