let me share real use case that I’ve: ``` type Mu...
# orm-help
p
let me share real use case that I’ve:
Copy code
type MusicChannel {
	id: ID! @unique
	name: String! @unique
	logoUrl: String!
	isFeatured: Boolean!
	status: MusicChannelStatus!

	activeSource: MusicChannelSource @relation(name: "MusicChannelActiveSource")
	sources: [MusicChannelSource!]! @relation(name: "MusicChannelSources")
}

enum MusicChannelStatus {
	ACTIVE
	DISABLED
}

type MusicChannelSource {
	streamUrl: String!
	isOffline: Boolean!

	channel: MusicChannel! @relation(name: "MusicChannelActiveSource")
	songs: [Song!]!
	ignoreTitles: [String!]!
}
and I found the issue 🙂 I didn’t set id field for
MusicChannelSource
because it was generated automatically, but it caused this api generation issue for me 🙂 with
Copy code
type MusicChannelSource {
	id: ID! @unique
	streamUrl: String!
	isOffline: Boolean!

	channel: MusicChannel! @relation(name: "MusicChannelActiveSource")
	songs: [Song!]!
	ignoreTitles: [String!]!
}
everything works ok thanks @catalinmiron for your time one more time