-
Notifications
You must be signed in to change notification settings - Fork 628
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
QFJ-981 / QFJ-982 Remove settings from DataDictionary
class
#245
Conversation
…tings from DataDictionary
Did not follow this up through the changed code yet but there are NullPointerExceptions at
Probably forgotten to pass the default validation settings?! Thanks for the PR! |
Hi @philipwhiuk , I wanted to add a test for QFJ-981 which is related to this issue. However, I do not seem to be able to push changes to this branch. Have you enabled push access for maintainers on this PR? |
Yep I allowed edits from maintainers... Not sure why it won't let you push.. |
Got a 'permission denied'. Maybe got one of the parameters wrong. Will try again later.
|
Test that validation settings are applied when no explicit AppDataDictionary is defined.
Nevermind, turned out I was using the wrong branch |
I'm wondering whether it's better to rename the new struct to |
Sounds sensible. |
Hi @philipwhiuk , I was thinking about into which version this fix needs to go. When using semantic versioning (which I'm roughly trying to follow) this needs to go into 3.0 due to public interface changes, right? |
I think I failed at trying to resolve the merge conflict. Will check. |
updated DataDictionaryTest.testCopy() * removed no longer needed checks since validation settings are set via ValidationSettings
corrected imports and usage of MessageUtils.parse()
Yes, it's probably 3.0. We're testing this change internally at current. No issues so far :) |
QFJ-981/QFJ-982 are actually a duplicate of 2016 issue QFJ-877, but there was no investigation so it can be closed once this is merged. You probably need to add null checks against
Additionally, these methods were not overloaded. This is a breaking change as I have seen these methods being used in test and FIX simulator code while working for at least two clients. This one might not be a big deal and probably does not need to be fixed, but it will add some work for developers integrating with the newest version. |
Yeah it's a breaking change. I think the plan is to release this as 3.0.0 I'm happy to review PRs to add null checks. We're using this internally and it works fine. |
Null checks would be good to have, but your choice. I would not worry to much about it. |
DataDictionary
class
Hi @philipwhiuk , I have now worked on this to get the changes into master after five years. ;) I hope it is OK that I opened a separate PR for this (somehow got tangled up in the changes of the last, but your commits will of course be included there: #831 Thank you 👍 |
Not much testing on this but here's where we're/I'm thinking of going with it.