GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Custom Property Attributes should be returned as a map instead of list of entries · Issue #651 · ArcadeData/arcadedb

Custom Property Attributes should be returned as a map instead of list of entries #651

New issue
Copy link
New issue
Copy link
Closed
Closed
Custom Property Attributes should be returned as a map instead of list of entries#651
Copy link
Assignees
lvca
Milestone
22.12.1

Description

@lvca
lvca
opened on Nov 30, 2022
Issue body actions

Discussed in #650

Originally posted by gramian November 29, 2022
Dear Developers,

I am experimenting with custom property attributes. When I query the schema of a database with such custom attributes of properties via SELECT FROM schema:types, the custom key of a type has a list (array) of maps (key-value-pairs) storing these custom attributes. Now, I wonder why is this a list of maps and not just a plain map (below custom)?

Thank you for your insight

Activity

  1. lvca
    added
    questionFurther information is requested
    on Nov 30, 2022
  2. lvca
    self-assigned this
    on Nov 30, 2022
  3. lvca
    added
    bug
    and removed
    questionFurther information is requested
    on Nov 30, 2022
  4. lvca
    added this to the 22.11.1 milestone on Nov 30, 2022
  5. lvca
    added a commit that references this issue on Nov 30, 2022

    custom properties converted from arrays to map

    4527b16
  6. lvca
    closed this as completedon Nov 30, 2022
  7. lvca
    reopened this on Dec 22, 2022
  8. lvca
    modified the milestones: 22.11.1, 22.12.1 on Dec 22, 2022
  9. lvca
    added a commit that references this issue on Dec 22, 2022

    fix: schema now returns a map for properties custom

    e558b2b
  10. lvca commented on Dec 22, 2022

    @lvca
    lvca
    on Dec 22, 2022
    MemberAuthor
    More actions

    From @gramian:

    @lvca Please reopen this issue:
    Unfortunately, in 22.11.1, custom attributes are still a list of maps and not a single map. Given the code above:

    CREATE DOCUMENT TYPE mytype;
    CREATE PROPERTY mytype.myprop STRING;
    ALTER PROPERTY mytype.myprop CUSTOM meta1 = 'how';
    ALTER PROPERTY mytype.myprop CUSTOM meta2 = 'are';
    ALTER PROPERTY mytype.myprop CUSTOM meta3 = 'you';
    

    then invoking:

    SELECT properties FROM schema:types
    

    I get:

    [{"custom":[{"meta1":"how"},{"meta2":"are"},{"meta3":"you"}],"name":"myprop","id":1,"type":"STRING"}]
    

    Thank you for taking another look.

  11. lvca commented on Dec 22, 2022

    @lvca
    lvca
    on Dec 22, 2022
    MemberAuthor
    More actions

    Map for custom was only implemented for type custom, not for property custom. Fixed and now will be released in 22.12.1

  12. lvca
    closed this as completedon Dec 22, 2022
  13. lvca
    added
    bug fixed
    on Dec 22, 2022
  14. lvca
    changed the title [-]Custom Property Attributes Structure[/-] [+]Custom Property Attributes should be returned as a map instead of list of entries[/+] on Dec 23, 2022
  15. tae898
    added 2 commits that reference this issue on Jun 28, 2026

    custom properties converted from arrays to map

    0eb81d1

    fix: schema now returns a map for properties custom

    76016de
  16. mergify
    added a commit that references this issue on Jul 5, 2026

    chore(deps): bump github.com/neo4j/neo4j-go-driver/v5 from 5.28.1 to …

    98f19d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    • 22.12.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.