Skip to content

Feature.CreatedAt can be null #92

@colinblaise

Description

@colinblaise

Description of the Bug

System.ArgumentException: The property created_at is not present!
at ChargeBee.Internal.Resource.ThrowIfKeyMissed(String key)
at ChargeBee.Internal.Resource.GetValue[T](String key, Boolean required)
at ChargeBee.Internal.Resource.GetDateTime(S…

 var features = await Feature.List()
      .RequestAsync();

Steps to reproduce

  1. Add a feature in chargebee
  2. Fetch it over the sdk

Expected Behavior

CreatedAt field should be nullable if it is intended to to be nullable. Otherwise, the bug is that the CreatedAt field is coming back as null when fetched from Features

Code Snippets (if applicable)

Operating System

Windows

Language version

.net core 10

Library version

3.42.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions