Skip to content

[0.80] Restore legacy semantics of modulesConformingToProtocol #950

@j-piasecki

Description

@j-piasecki

Target Branch

0.80

Link to commit or PR to be picked

facebook/react-native#51381

Description

D70822061 introduced a new way of defininf modules and components in codegen, but accidentally introduced two breaking changes to the legacy syntax:

  • before that diff, in case of 1:1 mapping, the value of the fileds could be a string, while after, it required it to be an array
  • before that diff, not all of the fields on modulesConformingToProtocol had to be defined in package.json, while after, it required all fields to be defined even if unused

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Done / Picked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions