Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

无法自动保存嵌套的 pointer #494

Copy link
Copy link

Description

@weakish
Issue body actions

比如以下代码会出错:

Author = leancloud.Object.extend('Author')
author = Author()
author.name = "Bob"

Post = leancloud.Object.extend('Post')
post = Post()
post.set('title', 'hugry')
post.set('content', 'where to eat')
post.set('author', author)

Comment = leancloud.Object.extend('Comment')
comment = Comment()
comment.set('content', 'KFC')

comment.set('parent', post)

comment.save()

JavaScript SDK 支持保存这种嵌套的 pointer

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    nextbreaking changesbreaking changes

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.