Skip to content

Widget config not picked up on intersection types #14104

@jdunkerley

Description

@jdunkerley

The dynamic config on DB_Table.save_as_data_link is not picked up by Meta.get_annotation

from Standard.Base import all
from Standard.Table import all
from Standard.Database import all

main =
    file1 = Database.connect SQLite.In_Memory
    any1 = file1.create_table 'Test' [(Column_Description.Value "A" Value_Type.Integer)]
    node1 = Meta.get_annotation any1 .save_as_data_link 'path'
    any2 = any1.to DB_Table
    node2 = Meta.get_annotation any2 .save_as_data_link 'path'

node1 and node2 should be equal

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🟢 Accepted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions