开发者

I can't get sfMondongoPlugin to generate embeddeds fields

I'm working with the sfMondongoPlugin v1.0 https://github.com/开发者_如何学Gomondongo/sfMondongoPlugin

I can not get the embeds code to generate correctly. It generates embedded classes that inherit from the EmbeddedDocument class. (sounds correct)

But it doesn't seem to have any reference to the embedded Class in the Parent Class.

Has anyone else had this problem?

[yml]

Author:
  fields:
    name: string
  embeddeds:
    phonenumber: { class: Phonenumber, type: many }

Phonenumber:
  fields:
    number: string
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜