Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update blog example #484

Merged
merged 1 commit into from
Jul 16, 2023
Merged

Conversation

wubuku
Copy link
Collaborator

@wubuku wubuku commented Jul 15, 2023

原来的 CLI 对于类型为 vector 的参数不支持传入空的 vector。在原来的 README 中,测试应用碰到这个情况时先随意传入了一个元素,让 vector 不为空,避免出错。这个地方做了修改。

上一个版本改进后的示例应用还有一些“用户需求”可能没有满足。

比如说,不支持不同的账户(用户)在同一个博客中创作文章(Getting Started 文章示例的 simple blog 也存在同样问题)。

在本次更新的示例中,我们演示了如何解决这些问题。


The previous CLI did not support passing an empty vector for arguments of type vector. In the previous README, when testing applications that encountered this situation, an arbitrary element was passed in so that the vector would not be empty, to avoid the error. This has been changed.

There are still some "user requirements" that may not have been met in the previous version of the improved example application.

For example, there was no support for different accounts (users) to create articles in the same blog (the same problem existed in the "simple blog" version of the Getting Started article).

In this updated example, we demonstrate how to solve these issues.

@vercel
Copy link

vercel bot commented Jul 15, 2023

@wubuku is attempting to deploy a commit to the Rooch Team on Vercel.

A member of the Team first needs to authorize it.

@jolestar jolestar merged commit 3b74bc8 into rooch-network:main Jul 16, 2023
2 checks passed
wubuku added a commit to wubuku/rooch that referenced this pull request Jul 16, 2023
* commit '3b74bc81af7837ca956e117cf340e8ffb6ec4105':
  Update blog example (rooch-network#484)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants