Skip to content

ParseConfig throwing Codable errors when type Object exists in Config. #437

Open
@proj-sashido

Description

@proj-sashido

New Issue Checklist

Issue Description

  • On my ParseServer, in the Config, I have variables that are of type “Object”.
  • I cannot create variables to represent these JSON objects (i.e. Dictionary<String, Any>) into my subclassed ParseConfig class.

Steps to reproduce

  • Create a subclass of ParseConfig
  • Create any variable with type Dictionary<String, Any>? or Dictionary<String, AnyObject>?

Actual Outcome

  • An error saying ParseConfig no longer conforms to Codable, and that I need to add stubs.

Expected Outcome

  • No error

Environment

Client

  • Parse Swift SDK version: 4.14.2
  • Xcode version: Version 14.2 (14C18)
  • Operating system (iOS, macOS, watchOS, etc.): macOS (M2 Pro)
  • Operating system version: Ventura 13.2 (22D49)

Server

  • Parse Server version: 2.3.3
  • Operating system: Unknown
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): SashiDo / AWS

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: Unknown
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): Unknown

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions