Skip to content

Problem serializing byte  #64

Description

@karlguillotte

Hi,

Sorry for posting another issue. I just created another Class/Controller/DbSet for Offices.

public class Office {

    [Key]
    public byte Id { get; set; }

    public string Name { get; set; }

    public string City { get; set; }
}

Fetching my new endpoint with Accept: application/vnd.api+json returns NOIDCOMPUTABLE! as ids and valid numbers with Accept: application/json. I looked at the tests and it seems that byte is supported. I am not sure why the ids are not serialized properly.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions