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

数据结构和 Package 名一致的情况下生成不同内容后 BuildID 不一致 #48

Closed
aenerv7 opened this issue May 19, 2020 · 4 comments

Comments

@aenerv7
Copy link

aenerv7 commented May 19, 2020

使用 2.9.3 版本会出现这个问题,我也看到了这个 issue:Issue 46,如果 BuildID 是保证类型的话,那么按说只是单纯的内容不同并不会导致 BuildID 不同。

@aenerv7 aenerv7 changed the title 数据结构和 Package 名一致的情况下生成不同内容的数据的 BuildID 不一致 数据结构和 Package 名一致的情况下生成不同内容后 BuildID 不一致 May 19, 2020
@davyxu
Copy link
Owner

davyxu commented May 19, 2020

请提供最小例子, BuildID是用生成的CS代码的hash来做的, 和数据无关

@aenerv7
Copy link
Author

aenerv7 commented May 19, 2020

我发现有一个字段在两份表中的 "Default" 值不一致,但是类型是一样的,这样的话 BuildID 也会不一样的嘛?

@davyxu
Copy link
Owner

davyxu commented May 19, 2020

是的, Default值会影响, meta内容属于表类型

@aenerv7
Copy link
Author

aenerv7 commented May 19, 2020

我又测试了一下,如果把 "Default" 改成一致的那么 BuildID 就一致了,应该就是这个原因了。

@aenerv7 aenerv7 closed this as completed May 19, 2020
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

No branches or pull requests

2 participants