Skip to content

While Looking into the issue, I ran into another bug. Please check. #136

@kezhenxu94

Description

@kezhenxu94

While Looking into the issue, I ran into another bug. Please check.

Wrongly referenced Renamed class

Steps:
innerclassmodel = false
use plugin to do generate kotlin data class File from json Action with root class name: ff

Json

{
  "user": {
    "id": 29,
    "google_id": null,
    "name": "snoop",
    "email": "snoop@gmail.com",
    "image": null,
    "category_id": 1,
    "created_at": "2019-03-22 19:05:33",
    "updated_at": "2019-03-22 19:05:33"
  },
  "owner": {
    "user": {
      "privilege": "owner"
    }
  }
}

Bug: UserX class is generated after renaming but it is not referenced in the Final class structure.

Originally posted by @Karthik2007 in #123 (comment)

Metadata

Metadata

Assignees

Labels

L5Difficulty level 5 (Maximum is 9)bug

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions