agentlang-ai / agentlang

Generative AI-powered Programming Language
Apache License 2.0
119 stars 4 forks source link

Interning an entity using `lang/entity` in resolver does not work #670

Open puneet-fractl opened 2 years ago

puneet-fractl commented 2 years ago

fractl branch: main fractl-meta branch: uncompose-resolver fractl-meta-resolver branch: intern-entity (changes)
prints

>>>>>intern attributes
>>>>>entity return value :Fractl.Meta.Core/Temp
>>>>>>find-event-schema nil

So, the entity is not interned. Note: @vmatv8 found out that the entity is interned in the fractl-meta repo.

vijayfractl commented 2 years ago

@puneet-fractl Is the Upsert_Temp event getting interned properly? If that's the case (find-event-schema :Fractl.Meta.Core/Upsert_Temp) should work.

puneet-fractl commented 2 years ago

It returns :Fractl.Meta.Core/Temp but the find-event-schema returns nil. serialiazable-entity returns successfully.

Is there any test I can do to investigate it further?