Skip to content

Nuget package with net6 has issues when accessing array elements by index #5

@dkottow

Description

@dkottow

Describe the bug

I have added packages Handlebars.Net and Handlebars.Net.Extension.Json to a net6 project and ran into issues when accesing arrays by index. It always returned empty.

I then cloned this repo, updated all projects to use net6.0 and ran the tests. They all passed, including JsonTests.ArrayIndexProperties() which uses index access to arrays.

I then went back to my project, removed the extension as a package and included the project sources instead. Things worked fine then.

I am aware this is not a source code issue, but I thought you should know anyway. Let me know if I can be of any help clarifying further.

Cheers
Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions