开发者

I can't get sfMondongoPlugin to generate embeddeds fields

开发者 https://www.devze.com 2023-03-17 02:33 出处:网络
I\'m working with the sfMondongoPlugin v1.0 https://github.com/开发者_如何学Gomondongo/sfMondongoPlugin

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

精彩评论

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