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

initial commit for 2.0 support #78

Merged
merged 2 commits into from
Oct 25, 2022
Merged

initial commit for 2.0 support #78

merged 2 commits into from
Oct 25, 2022

Conversation

nkolba
Copy link
Contributor

@nkolba nkolba commented Oct 21, 2022

  • added 2.0 API side by side with 1.2
  • stubbed out 2.0 in preload
  • internalized type dependencies for 1.2

@nkolba
Copy link
Contributor Author

nkolba commented Oct 21, 2022

WIP. Ran into problems with type usage conflicts between 1.2 and 2.0.

@robmoffat
Copy link
Member

WIP. Ran into problems with type usage conflicts between 1.2 and 2.0.

Looks really promising nonetheless! Looking forward to chatting about it later

@sebbenmbarek
Copy link
Contributor

What he said ☝️

Copy link
Contributor

@sebbenmbarek sebbenmbarek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
I like the path aliasing, it makes it so much cleaner

I take it that FDC3Events will be split between 1.2 and 2 in a later iteration?

"@fontsource/roboto": "^4.5.3",
"@mui/icons-material": "^5.4.4",
"@mui/material": "^5.4.4",
"electron-fetch": "^1.7.4",
"electron-updater": "^4.6.5",
"fastify": "^3.27.2",
"fdc3-1.2": "npm:@finos/fdc3@^1.2.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be here again?

@@ -1,7 +1,11 @@
import { View } from './view';
import { getRuntime } from './index';
import { BrowserWindow } from 'electron';
import { FDC3App, IntentInstance, ResolverDetail } from './types/FDC3Data';
import {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is IntentResolver common to 1.2 and 2.0?

@@ -14,7 +14,8 @@

"baseUrl": ".",
"paths": {
"/@/*": ["./src/*"]
"/@/*": ["./src/*"],
"/@main/*": ["../main/src/*"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's usual to leave off the / on /@main, no?

@nkolba nkolba merged commit 2e1042f into finos:main Oct 25, 2022
@nkolba nkolba deleted the hello-2.0 branch October 25, 2022 13:22
@nkolba nkolba mentioned this pull request Oct 26, 2022
4 tasks
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